GLKMatrix4Scale(_:_:_:_:)
Returns a new 4x4 matrix created by concatenating a matrix with a scaling transform.
Declaration
func GLKMatrix4Scale(_ matrix: GLKMatrix4, _ sx: Float, _ sy: Float, _ sz: Float) -> GLKMatrix4Parameters
- matrix:
A matrix.
- sx:
The amount to scale the
xcomponent. - sy:
The amount to scale the
ycomponent. - sz:
The amount to scale the
zcomponent.
Return Value
A new matrix.
See Also
Performing Mathematical Operations on Matrices
GLKMatrix4Invert(_:_:)GLKMatrix4Transpose(_:)GLKMatrix4InvertAndTranspose(_:_:)GLKMatrix4Multiply(_:_:)GLKMatrix4Rotate(_:_:_:_:_:)GLKMatrix4RotateWithVector3(_:_:_:)GLKMatrix4RotateWithVector4(_:_:_:)GLKMatrix4RotateX(_:_:)GLKMatrix4RotateY(_:_:)GLKMatrix4RotateZ(_:_:)GLKMatrix4ScaleWithVector3(_:_:)GLKMatrix4ScaleWithVector4(_:_:)GLKMatrix4Translate(_:_:_:_:)GLKMatrix4TranslateWithVector3(_:_:)GLKMatrix4TranslateWithVector4(_:_:)