OPCODE collision detection
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Where are the translation paramteres in Matrix4x4?

Go down

Where are the translation paramteres in Matrix4x4? Empty Where are the translation paramteres in Matrix4x4?

Post by templar_vii Wed Dec 09, 2015 2:37 pm

X: m30
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);


templar_vii
Admin

Posts : 7
Join date : 2015-12-09

https://opcode.iftopic.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum