M
M
mr_blond972017-08-19 12:47:05
Mathematics
mr_blond97, 2017-08-19 12:47:05

What kind of matrix transformation can be in this code?

What kind of matrix transformation can be in this code?

mat[3][0] += a0.y * mat[0][0] + a0.z * mat[1][0] + a0.x * mat[2][0]; 
mat[3][1] += a0.y * mat[0][1] + a0.z * mat[1][1] + a0.x * mat[2][1]; 
mat[3][2] += a0.y * mat[0][2] + a0.z * mat[1][2] + a0.x * mat[2][2];

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Griboks, 2017-08-19
@Griboks

Since m3i is being transformed here, it's just a translation (relocation)
M3'=M3+S, where S=M*A0
Only someone connected the matrices M and M3.
And if you look at x, y, z, then there is generally a magical transformation. In any case, a composite of the main ones (transfer, scaling, rotation).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question