Contents

SCNMatrix4Mult(_:_:)

Returns the product of two matrices.

Declaration

func SCNMatrix4Mult(_ a: SCNMatrix4, _ b: SCNMatrix4) -> SCNMatrix4
func SCNMatrix4Mult(_ a: SCNMatrix4, _ b: SCNMatrix4) -> SCNMatrix4

Parameters

  • a:

    The multiplicand, or left operand of matrix multiplication.

  • b:

    The multiplier, or right operand of matrix multiplication.

Return Value

The matrix product of the matA and matB parameters.

Discussion

Matrix multiplication is not commutative. As a transformation, the result of multiplying a matrix A by a matrix B is the transformation represented by B followed by the transformation represented by A.

See Also

Performing Matrix Operations