Back to class index
| Frustum::NearPlanePosSyntaxfloat4 Frustum::NearPlanePos(float x, float y) const; [21 lines of code]float4 Frustum::NearPlanePos(const float2 &point) const; [4 lines of code] Returns a point on the near plane. Note This coordinate space is called the normalized viewport coordinate space. ParametersfloatxA value in the range [-1, 1]. floatyA value in the range [-1, 1]. Specifying (-1, -1) returns the bottom-left corner of the near plane. The point (1, 1) corresponds to the top-right corner of the near plane. See Also |