Lines Matching refs:matrix
30 * a vector is done by postmultiplying the vector, e.g. (matrix * vector),
33 * To create a transformation matrix that performs two transformations at once,
35 * argument. E.g. to create a transformation matrix that applies the
41 * style simply stores the transformation matrix in the first argument. The latter
42 * modifies a pre-existing transformation matrix so that the new transformation
43 * happens first. E.g. if you call rsMatrixTranslate() on a matrix that already
44 * does a scaling, the resulting matrix when applied to a vector will first do the
56 * Computes 6 frustum planes from the view projection matrix
178 * Returns one element of a matrix.
197 * rsMatrixInverse: Inverts a matrix in place
199 * Returns true if the matrix was successfully inverted.
208 * rsMatrixInverseTranspose: Inverts and transpose a matrix in place
210 * The matrix is first inverted then transposed. Returns true if the matrix was
220 * rsMatrixLoad: Load or copy a matrix
222 * Set the elements of a matrix from an array of floats or from another matrix.
228 * If loading from a matrix and the source is smaller than the destination, the rest
229 * of the destination is filled with elements of the identity matrix. E.g.
240 … array: Array of values to set the matrix to. These arrays should be 4, 9, or 16 floats long, depe…
241 * source: Source matrix.
268 * rsMatrixLoadFrustum: Load a frustum projection matrix
270 * Constructs a frustum projection matrix, transforming the box identified by
274 * matrix using rsMatrixMultiply().
284 * rsMatrixLoadIdentity: Load identity matrix
286 * Set the elements of a matrix to the identity matrix.
303 * Sets m to the matrix product of lhs * rhs.
305 * To combine two 4x4 transformaton matrices, multiply the second transformation matrix
306 * by the first transformation matrix. E.g. to create a transformation matrix that applies
309 * Warning: Prior to version 21, storing the result back into right matrix is not supported and
316 * lhs: Left matrix of the product.
317 * rhs: Right matrix of the product.
329 * rsMatrixLoadOrtho: Load an orthographic projection matrix
331 * Constructs an orthographic projection matrix, transforming the box identified by the
335 * To apply this projection to a vector, multiply the vector by the created matrix
348 * rsMatrixLoadPerspective: Load a perspective projection matrix
350 * Constructs a perspective projection matrix, assuming a symmetrical field of view.
352 * To apply this projection to a vector, multiply the vector by the created matrix
366 * rsMatrixLoadRotate: Load a rotation matrix
368 * This function creates a rotation matrix. The axis of rotation is the (x, y, z) vector.
370 * To rotate a vector, multiply the vector by the created matrix using rsMatrixMultiply().
385 * rsMatrixLoadScale: Load a scaling matrix
387 * This function creates a scaling matrix, where each component of a vector is multiplied
390 * To scale a vector, multiply the vector by the created matrix using rsMatrixMultiply().
402 * rsMatrixLoadTranslate: Load a translation matrix
404 * This function creates a translation matrix, where a number is added to each element of
407 * To translate a vector, multiply the vector by the created matrix using
420 * rsMatrixMultiply: Multiply a matrix by a vector or another matrix
422 * For the matrix by matrix variant, sets m to the matrix product m * rhs.
425 * matrix will correspond to performing the rhs transformation first followed by
428 * For the matrix by vector variant, returns the post-multiplication of the vector
429 * by the matrix, ie. m * in.
437 * Starting with API 14, this function takes a const matrix as the first argument.
440 * m: Left matrix of the product and the matrix to be set.
441 * rhs: Right matrix of the product.
513 * rsMatrixRotate: Apply a rotation to a transformation matrix
515 * Multiply the matrix m with a rotation matrix.
517 * This function modifies a transformation matrix to first do a rotation. The axis of
521 * matrix using rsMatrixMultiply().
534 * rsMatrixScale: Apply a scaling to a transformation matrix
536 * Multiply the matrix m with a scaling matrix.
538 * This function modifies a transformation matrix to first do a scaling. When scaling,
542 * matrix using rsMatrixMultiply().
556 * Set an element of a matrix.
576 * rsMatrixTranslate: Apply a translation to a transformation matrix
578 * Multiply the matrix m with a translation matrix.
580 * This function modifies a transformation matrix to first do a translation. When
584 * created matrix using rsMatrixMultiply().
596 * rsMatrixTranspose: Transpose a matrix place
598 * Transpose the matrix m in place.