Where are the translation paramteres in Matrix4x4?
Page 1 of 1
Where are the translation paramteres in Matrix4x4?
X: m30
Y: m31
Z: m32
A matrix to translate X=6 looks like this:
Y: m31
Z: m32
A matrix to translate X=6 looks like this:
- Code:
Matrix4x4* translation = new Matrix4x4(
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
6, 0, 0, 1);
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum