X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FFrustum.cc;h=dddbde09110476a42324ca9fbf2d5197efa1601f;hp=4dc63400618883b95e877c2e288c724e7e0fdfe1;hb=8ad81a8282ce6e9e488a453e6bcd05fbc09715dc;hpb=50c1239917f5e443b8ec91773c85ceb3db7da67b 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);