Lines Matching refs:viewProj
59 * viewProj: Matrix to extract planes from.
68 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top,
71 left->x = viewProj->m[3] + viewProj->m[0];
72 left->y = viewProj->m[7] + viewProj->m[4];
73 left->z = viewProj->m[11] + viewProj->m[8];
74 left->w = viewProj->m[15] + viewProj->m[12];
76 right->x = viewProj->m[3] - viewProj->m[0];
77 right->y = viewProj->m[7] - viewProj->m[4];
78 right->z = viewProj->m[11] - viewProj->m[8];
79 right->w = viewProj->m[15] - viewProj->m[12];
81 top->x = viewProj->m[3] - viewProj->m[1];
82 top->y = viewProj->m[7] - viewProj->m[5];
83 top->z = viewProj->m[11] - viewProj->m[9];
84 top->w = viewProj->m[15] - viewProj->m[13];
86 bottom->x = viewProj->m[3] + viewProj->m[1];
87 bottom->y = viewProj->m[7] + viewProj->m[5];
88 bottom->z = viewProj->m[11] + viewProj->m[9];
89 bottom->w = viewProj->m[15] + viewProj->m[13];
91 near->x = viewProj->m[3] + viewProj->m[2];
92 near->y = viewProj->m[7] + viewProj->m[6];
93 near->z = viewProj->m[11] + viewProj->m[10];
94 near->w = viewProj->m[15] + viewProj->m[14];
96 far->x = viewProj->m[3] - viewProj->m[2];
97 far->y = viewProj->m[7] - viewProj->m[6];
98 far->z = viewProj->m[11] - viewProj->m[10];
99 far->w = viewProj->m[15] - viewProj->m[14];