-
ORIGIN.DMAT4:TRANSLATE!(out mat vec)FUNCTION
Compute a translation matrix with identity rotation T from VEC, returning the matrix multiplication of MAT * T.
originorigin.dmat4 -
ORIGIN.DMAT3:TRANSLATE!(out mat vec)FUNCTION
Compute a translation matrix with identity rotation T from VEC, returning the matrix multiplication of MAT * T.
originorigin.dmat3 -
ORIGIN.MAT4:TRANSLATE!(out mat vec)FUNCTION
Compute a translation matrix with identity rotation T from VEC, returning the matrix multiplication of MAT * T.
originorigin.mat4 -
ORIGIN.MAT3:TRANSLATE!(out mat vec)FUNCTION
Compute a translation matrix with identity rotation T from VEC, returning the matrix multiplication of MAT * T.
originorigin.mat3 -
3D-MATRICES:N*M(val &rest vals)FUNCTION
Computes a modifying matrix multiplication, but modifying the right-hand side.
See NM*
3d-matrices3d-matrices -
3D-MATRICES:M*(val &rest vals)FUNCTION
Computes a matrix multiplication.
If the other operand is a real, the matrix is multiplied with the real element-wise. If the other operand is a matrix, they are multiplied as per matrix multiplication. Note that the returned matrix may have different size than the input matrices as a result of this. The two matrices must agree on the size as per matrix multiplication.
A special provision is made to allow for MAT4VEC3, which acts as MAT4(VEC4 X Y Z 1) and discarding the W component.
3d-matrices3d-matrices -
GLSL-PARSER-RULES:MULTIPLICATION()FUNCTION
glsl-toolkitglsl-parser-rules
-
3D-MATRICES:NM*(val &rest vals)FUNCTION
Computes a modifying matrix multiplication.
If the other operand is a real, the matrix is multiplied with the real element-wise. If the other operand is a matrix, they are multiplied as per matrix multiplication. Note that this only works for square matrix against square matrix, as otherwise a size change would occur, which is not possible to do in a modifying variant. The two matrices must agree on the size as per matrix multiplication. If the other operand is a vector, the vector is modified.
A special provision is made to allow for MAT4VEC3, which acts as MAT4(VEC4 X Y Z 1) and discarding the W component.
See N*M
3d-matrices3d-matrices -
COMPUTABLE-REALS:*R(&rest args &aux (pn 1) (rl
nil))FUNCTION
Multiplication for CREALs
computable-realscomputable-reals -
MAGICL:@(matrix &rest matrices)GENERIC-FUNCTION
Multiplication of matrices
magicl/coremagicl