Back to class index
| Frustum::ScreenToViewportSpaceSyntaxfloat2 Frustum::ScreenToViewportSpace(float x, float y, int screenWidth, int screenHeight); [4 lines of code]float2 Frustum::ScreenToViewportSpace(const float2 &point, int screenWidth, int screenHeight); [4 lines of code] Maps a point from screen space to normalized viewport space. This function computes the inverse function of ViewportToScreenSpace(). This mapping is affine. See Also |