myRotation.scale( scaleFactor ) in Anark Studio 2.5
Scale the rotation by a factor.
Arguments
name | type | description |
---|---|---|
scaleFactor | Number | The factor to multiply each co |
- Return Type
- (none)
Description
Multiplies each x/y/z property of the rotation vector by a given factor, modifying the original.
Equivalent to:
myRotation.x*=scaleFactor;
myRotation.y*=scaleFactor;
myRotation.z*=scaleFactor;