createDirectionalScale MethodStatic

Create a matrix that scales along a specified direction. The scale factor can be negative. for instance scale of -1.0 (negative one) is a mirror.

createDirectionalScale(direction: Vector3d, scale: number, result?: Matrix3d): Matrix3d

Parameter Type Description
direction Vector3d  
scale number  
result Matrix3d  

Returns - Matrix3d

Defined in

Last Updated: 13 June, 2024