• ORIGIN.DMAT4:TRANSLATE!(out mat vec)FUNCTION

    Compute a translation matrix with identity rotation T from VEC, returning the matrix multiplication of MAT * T.

  • ORIGIN.DMAT3:TRANSLATE!(out mat vec)FUNCTION

    Compute a translation matrix with identity rotation T from VEC, returning the matrix multiplication of MAT * T.

  • ORIGIN.MAT4:TRANSLATE!(out mat vec)FUNCTION

    Compute a translation matrix with identity rotation T from VEC, returning the matrix multiplication of MAT * T.

  • ORIGIN.MAT3:TRANSLATE!(out mat vec)FUNCTION

    Compute a translation matrix with identity rotation T from VEC, returning the matrix multiplication of MAT * T.

  • 3D-MATRICES:N*M(val &rest vals)FUNCTION

    Computes a modifying matrix multiplication, but modifying the right-hand side.

    See NM*

  • 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.

  • GLSL-PARSER-RULES:MULTIPLICATION()FUNCTION
  • 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

  • COMPUTABLE-REALS:*R(&rest args &aux (pn 1) (rl nil))FUNCTION

    Multiplication for CREALs

  • MAGICL:@(matrix &rest matrices)GENERIC-FUNCTION

    Multiplication of matrices

Load more