예제 #1
0
        public virtual void SetFrustum(GLFrustum frustum)
        {
            fFrustum = frustum;
            fNearPlaneDistance = frustum.Near;
            fFarPlaneDistance = frustum.Far;

            Changed();
        }
예제 #2
0
        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;
        }