Blender Git Loki

Git Commits -> Revision 0bf3165

August 7, 2012, 16:23 (GMT)
Adding new functions to BLI_math_matrix

mult_m4_m3m4_q multiples 4x4 and 3x3 matrices and outputs 4x4 (needed for rotation). It doesn't do safe check!
mul_v4_m4v3 multiples 4x4 matrix by 3d vector and outputs 4d vector
mul_v3_m4v3_q multiples 4x4 matrix by 3d vector and outputs 3d vector. It doesn't do safe check!

rotate_m4_right rotates 4x4 matrix by 90 degrees. Acceptable paxis values are 'X', 'Y', 'Z', -'X', -'Y', -'Z'. Negative char rotatates -90 degrees.

Commit Details:

Full Hash: 0bf3165e482e8f6db7ea0915a4a25491b329af7b
SVN Revision: 49662
Parent Commit: 6561527
Lines Changed: +101, -0

2 Modified Paths:

/source/blender/blenlib/BLI_math_matrix.h (+4, -0) (Diff)
/source/blender/blenlib/intern/math_matrix.c (+97, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021