Lines Matching refs:viewProj
93 * @param viewProj matrix to extract planes from
102 rsExtractFrustumPlanes(const rs_matrix4x4 *viewProj,
107 left->x = viewProj->m[3] + viewProj->m[0];
108 left->y = viewProj->m[7] + viewProj->m[4];
109 left->z = viewProj->m[11] + viewProj->m[8];
110 left->w = viewProj->m[15] + viewProj->m[12];
112 right->x = viewProj->m[3] - viewProj->m[0];
113 right->y = viewProj->m[7] - viewProj->m[4];
114 right->z = viewProj->m[11] - viewProj->m[8];
115 right->w = viewProj->m[15] - viewProj->m[12];
117 top->x = viewProj->m[3] - viewProj->m[1];
118 top->y = viewProj->m[7] - viewProj->m[5];
119 top->z = viewProj->m[11] - viewProj->m[9];
120 top->w = viewProj->m[15] - viewProj->m[13];
122 bottom->x = viewProj->m[3] + viewProj->m[1];
123 bottom->y = viewProj->m[7] + viewProj->m[5];
124 bottom->z = viewProj->m[11] + viewProj->m[9];
125 bottom->w = viewProj->m[15] + viewProj->m[13];
127 near->x = viewProj->m[3] + viewProj->m[2];
128 near->y = viewProj->m[7] + viewProj->m[6];
129 near->z = viewProj->m[11] + viewProj->m[10];
130 near->w = viewProj->m[15] + viewProj->m[14];
132 far->x = viewProj->m[3] - viewProj->m[2];
133 far->y = viewProj->m[7] - viewProj->m[6];
134 far->z = viewProj->m[11] - viewProj->m[10];
135 far->w = viewProj->m[15] - viewProj->m[14];