public virtual void SetFrustum(GLFrustum frustum) { fFrustum = frustum; fNearPlaneDistance = frustum.Near; fFarPlaneDistance = frustum.Far; Changed(); }
public GLProjectionCamera(GraphicsInterface gi, Point3D location, Point3D lookAt, Vector3D up, float nearPlane, float farPlane) :base(gi, location, lookAt, up) { fFrustum = new GLFrustum(-1, 1, 1, -1, -1, 1); fNearPlaneDistance = nearPlane; fFarPlaneDistance = farPlane; }