ortho-matrix4 ( factors -- matrix ) (original) (raw)
ortho-matrix4 ( factors -- matrix )
Inputs
factors | an object |
---|
Outputs
matrix | an object |
---|
Definition
USING: kernel math.vectors math.vectors.simd ;
: ortho-matrix4 ( factors -- matrix )
float-4{ 1.0 1.0 1.0 1.0 } swap v/ scale-matrix4 ; inline