mat4.scale_v3 [method]
mat4.scale_v3( vec3 v[, bool reset ])
generate a scale matrix and multiply or set it to this matrix
- if
reset
is true, the generated matrix is directly set to this matrix- otherwise, generated matrix is right-multiplied to this matrix
- if current matrix is an identity matrix,
reset
has no effect