| Matrix44DCreateTranslation Method (Double, Double, Double) |
Creates a translation matrix from the given values.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Matrix44D CreateTranslation(
double x,
double y,
double z
)
Public Shared Function CreateTranslation (
x As Double,
y As Double,
z As Double
) As Matrix44D
public:
static Matrix44D CreateTranslation(
double x,
double y,
double z
)
static member CreateTranslation :
x : float *
y : float *
z : float -> Matrix44D
Parameters
- x
- Type: SystemDouble
The translation along the x-axis. - y
- Type: SystemDouble
The translation along the y-axis. - z
- Type: SystemDouble
The translation along the z-axis.
Return Value
Type:
Matrix44DA transformation matrix that translates vectors.
See Also