X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMoof%2FFrustum.cc;h=dddbde09110476a42324ca9fbf2d5197efa1601f;hb=d50942708db230dc5c43b8df89ede45525e1c394;hp=4dc63400618883b95e877c2e288c724e7e0fdfe1;hpb=72d4af22710317acffab861421c4364b1780b6fe;p=chaz%2Fyoink diff --git a/src/Moof/Frustum.cc b/src/Moof/Frustum.cc index 4dc6340..dddbde0 100644 --- a/src/Moof/Frustum.cc +++ b/src/Moof/Frustum.cc @@ -50,11 +50,11 @@ void Frustum::init(const Matrix4& modelview, const Matrix4& projection) } void Frustum::init(const Matrix4& modelview, Scalar fovy, Scalar aspect, - Scalar near, Scalar far) + Scalar abutting, Scalar distant) { Matrix4 projection; - cml::matrix_perspective_yfov_RH(projection, fovy, aspect, near, far, + cml::matrix_perspective_yfov_RH(projection, fovy, aspect, abutting, distant, cml::z_clip_neg_one); init(modelview, projection);