Creates a scaling matrix.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.7.0.0 (1.7.0.9486)

Syntax

C#
public static Matrix33F CreateScale(
	float scaleX,
	float scaleY,
	float scaleZ
)
Visual Basic
Public Shared Function CreateScale ( _
	scaleX As Single, _
	scaleY As Single, _
	scaleZ As Single _
) As Matrix33F
Visual C++
public:
static Matrix33F CreateScale(
	float scaleX, 
	float scaleY, 
	float scaleZ
)

Parameters

scaleX
Type: System..::..Single
The value to scale by on the x-axis.
scaleY
Type: System..::..Single
The value to scale by on the y-axis.
scaleZ
Type: System..::..Single
The value to scale by on the z-axis.

Return Value

The created scaling matrix.

See Also