Lines Matching refs:proj
22 void GetProjectionParameters( nn::math::Matrix44* proj, f32* left, f32* right, in GetProjectionParameters() argument
26 *near = proj->m[2][3] / proj->m[2][2]; in GetProjectionParameters()
27 *far = proj->m[2][3] / (proj->m[2][2] - 1.0f); in GetProjectionParameters()
29 f32 tmp = proj->m[2][3] / (proj->m[0][0] * proj->m[2][2]); in GetProjectionParameters()
30 *left = tmp * (proj->m[0][2] - 1.0f); in GetProjectionParameters()
31 *right = tmp * (proj->m[0][2] + 1.0f); in GetProjectionParameters()
33 tmp = proj->m[2][3] / (proj->m[1][1] * proj->m[2][2]); in GetProjectionParameters()
34 *top = tmp * (proj->m[1][2] + 1.0f); in GetProjectionParameters()
35 *bottom = tmp * (proj->m[1][2] - 1.0f); in GetProjectionParameters()
44 void GetProjectionForPartialCapture(nn::math::Matrix44* pOut, nn::math::Matrix44* proj, in GetProjectionForPartialCapture() argument
49 NN_NULL_ASSERT(proj); in GetProjectionForPartialCapture()
60 GetProjectionParameters( proj, &left, &right, &bottom, &top, &near, &far); in GetProjectionForPartialCapture()