Lines Matching refs:m
72 left->x = viewProj->m[3] + viewProj->m[0];
73 left->y = viewProj->m[7] + viewProj->m[4];
74 left->z = viewProj->m[11] + viewProj->m[8];
75 left->w = viewProj->m[15] + viewProj->m[12];
77 right->x = viewProj->m[3] - viewProj->m[0];
78 right->y = viewProj->m[7] - viewProj->m[4];
79 right->z = viewProj->m[11] - viewProj->m[8];
80 right->w = viewProj->m[15] - viewProj->m[12];
82 top->x = viewProj->m[3] - viewProj->m[1];
83 top->y = viewProj->m[7] - viewProj->m[5];
84 top->z = viewProj->m[11] - viewProj->m[9];
85 top->w = viewProj->m[15] - viewProj->m[13];
87 bottom->x = viewProj->m[3] + viewProj->m[1];
88 bottom->y = viewProj->m[7] + viewProj->m[5];
89 bottom->z = viewProj->m[11] + viewProj->m[9];
90 bottom->w = viewProj->m[15] + viewProj->m[13];
92 near->x = viewProj->m[3] + viewProj->m[2];
93 near->y = viewProj->m[7] + viewProj->m[6];
94 near->z = viewProj->m[11] + viewProj->m[10];
95 near->w = viewProj->m[15] + viewProj->m[14];
97 far->x = viewProj->m[3] - viewProj->m[2];
98 far->y = viewProj->m[7] - viewProj->m[6];
99 far->z = viewProj->m[11] - viewProj->m[10];
100 far->w = viewProj->m[15] - viewProj->m[14];
183 * m: Matrix to extract the element from.
188 rsMatrixGet(const rs_matrix4x4* m, uint32_t col, uint32_t row);
191 rsMatrixGet(const rs_matrix3x3* m, uint32_t col, uint32_t row);
194 rsMatrixGet(const rs_matrix2x2* m, uint32_t col, uint32_t row);
202 * m: Matrix to invert.
205 rsMatrixInverse(rs_matrix4x4* m);
214 * m: Matrix to modify.
217 rsMatrixInverseTranspose(rs_matrix4x4* m);
277 * m: Matrix to set.
280 rsMatrixLoadFrustum(rs_matrix4x4* m, float left, float right, float bottom, float top,
289 * m: Matrix to set.
292 rsMatrixLoadIdentity(rs_matrix4x4* m);
295 rsMatrixLoadIdentity(rs_matrix3x3* m);
298 rsMatrixLoadIdentity(rs_matrix2x2* m);
303 * Sets m to the matrix product of lhs * rhs.
315 * m: Matrix to set.
320 rsMatrixLoadMultiply(rs_matrix4x4* m, const rs_matrix4x4* lhs, const rs_matrix4x4* rhs);
323 rsMatrixLoadMultiply(rs_matrix3x3* m, const rs_matrix3x3* lhs, const rs_matrix3x3* rhs);
326 rsMatrixLoadMultiply(rs_matrix2x2* m, const rs_matrix2x2* lhs, const rs_matrix2x2* rhs);
341 * m: Matrix to set.
344 rsMatrixLoadOrtho(rs_matrix4x4* m, float left, float right, float bottom, float top, float near,
356 * m: Matrix to set.
363 rsMatrixLoadPerspective(rs_matrix4x4* m, float fovy, float aspect, float near, float far);
375 * m: Matrix to set.
382 rsMatrixLoadRotate(rs_matrix4x4* m, float rot, float x, float y, float z);
393 * m: Matrix to set.
399 rsMatrixLoadScale(rs_matrix4x4* m, float x, float y, float z);
411 * m: Matrix to set.
417 rsMatrixLoadTranslate(rs_matrix4x4* m, float x, float y, float z);
422 * For the matrix by matrix variant, sets m to the matrix product m * rhs.
426 * the original m transformation.
429 * by the matrix, ie. m * in.
440 * m: Left matrix of the product and the matrix to be set.
444 rsMatrixMultiply(rs_matrix4x4* m, const rs_matrix4x4* rhs);
447 rsMatrixMultiply(rs_matrix3x3* m, const rs_matrix3x3* rhs);
450 rsMatrixMultiply(rs_matrix2x2* m, const rs_matrix2x2* rhs);
454 rsMatrixMultiply(rs_matrix4x4* m, float4 in);
459 rsMatrixMultiply(rs_matrix4x4* m, float3 in);
464 rsMatrixMultiply(rs_matrix4x4* m, float2 in);
469 rsMatrixMultiply(rs_matrix3x3* m, float3 in);
474 rsMatrixMultiply(rs_matrix3x3* m, float2 in);
479 rsMatrixMultiply(rs_matrix2x2* m, float2 in);
484 rsMatrixMultiply(const rs_matrix4x4* m, float4 in);
489 rsMatrixMultiply(const rs_matrix4x4* m, float3 in);
494 rsMatrixMultiply(const rs_matrix4x4* m, float2 in);
499 rsMatrixMultiply(const rs_matrix3x3* m, float3 in);
504 rsMatrixMultiply(const rs_matrix3x3* m, float2 in);
509 rsMatrixMultiply(const rs_matrix2x2* m, float2 in);
515 * Multiply the matrix m with a rotation matrix.
524 * m: Matrix to modify.
531 rsMatrixRotate(rs_matrix4x4* m, float rot, float x, float y, float z);
536 * Multiply the matrix m with a scaling matrix.
545 * m: Matrix to modify.
551 rsMatrixScale(rs_matrix4x4* m, float x, float y, float z);
561 * m: Matrix that will be modified.
567 rsMatrixSet(rs_matrix4x4* m, uint32_t col, uint32_t row, float v);
570 rsMatrixSet(rs_matrix3x3* m, uint32_t col, uint32_t row, float v);
573 rsMatrixSet(rs_matrix2x2* m, uint32_t col, uint32_t row, float v);
578 * Multiply the matrix m with a translation matrix.
587 * m: Matrix to modify.
593 rsMatrixTranslate(rs_matrix4x4* m, float x, float y, float z);
598 * Transpose the matrix m in place.
601 * m: Matrix to transpose.
604 rsMatrixTranspose(rs_matrix4x4* m);
607 rsMatrixTranspose(rs_matrix3x3* m);
610 rsMatrixTranspose(rs_matrix2x2* m);