- //Frustum() {}
- //Frustum(Scalar l, Scalar r, Scalar b, Scalar t, Scalar n, Scalar f);
- //Frustum(Scalar fovy, Scalar aspect, Scalar near, Scalar far);
-
- inline Collision checkAabb(const Aabb& aabb) const
+ Frustum() {}
+ inline Frustum(const Matrix4& modelview, const Matrix4& projection)
+ {
+ init(modelview, projection);
+ }
+ inline Frustum(const Matrix4& modelview, Scalar fovy, Scalar aspect,
+ Scalar near, Scalar far)