Skip to content
Select language:English

MCL 1.3.5

operator fun times(scalar: Double): Mat3d

Multiplies the matrix by a scalar.

Return

The product of the matrix and the scalar.

Parameters

scalar

The scalar to multiply by.


operator fun times(other: Mat3d): Mat3d

Multiplies the matrix by another matrix.

Return

The product of the two matrices.

Parameters

other

The matrix to multiply by.


operator fun times(v: Vec3d): Vec3d

Multiplies the matrix by a 3D vector.

Return

The product of the matrix and the vector.

Parameters

v

The vector to multiply by.