Back to class index
| Frustum::UnProjectFromNearPlaneSyntaxRay Frustum::UnProjectFromNearPlane(float x, float y) const; [4 lines of code]Like UnProject, but if the frustum type is PerspectiveFrustum, the ray originates at the near plane, and not at the camera eye point. For orthographic frustum, LookAt and LookAtFromNearPlane are identical (always originates at near plane). Work in progress:Todo: in Ray Frustum::UnProjectFromNearPlane(float x, float y) const: Add float3 UnProject(const float3 &point) const; |