GLKMatrix3MakeScale(_:_:_:)
Returns a 3x3 matrix that performs a scaling transformation.
Declaration
func GLKMatrix3MakeScale(_ sx: Float, _ sy: Float, _ sz: Float) -> GLKMatrix3Parameters
- 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 scaling matrix.
See Also
Creating Matrices
GLKMatrix3Make(_:_:_:_:_:_:_:_:_:)GLKMatrix3MakeAndTranspose(_:_:_:_:_:_:_:_:_:)GLKMatrix3MakeWithArray(_:)GLKMatrix3MakeWithArrayAndTranspose(_:)GLKMatrix3MakeWithColumns(_:_:_:)GLKMatrix3MakeWithRows(_:_:_:)GLKMatrix3MakeRotation(_:_:_:_:)GLKMatrix3MakeXRotation(_:)GLKMatrix3MakeYRotation(_:)GLKMatrix3MakeZRotation(_:)GLKMatrix3MakeWithQuaternion(_:)