scale-matrix3 ( factors -- matrix )


Vocabulary
math.matrices

Inputs and outputs
factorsan object
matrixan object


Definition


:: scale-matrix3 ( factors -- matrix )
factors >scale-factors :> ( x y z )
{ { x 0.0 0.0 } { 0.0 y 0.0 } { 0.0 0.0 z } } ;