Where are the translation paramteres in Matrix4x4?

View previous topic View next topic Go down

Where are the translation paramteres in Matrix4x4?

Post by templar_vii on 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

View user profile http://opcode.forumotion.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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