I'm not very familiar with matrices yet and I need help to update a line of code...
I see that
CC3GLMatrix it's deprecated, and we have to use
CC3Matrix instead now. But CC3Matrix doesn't have the required instance method "matrixFromGLMatrix:" to create the matrix for the code.
In this case, this is the code I would like to update (second line):
QCAR::Matrix34F poseMatrix = result->getPose();
CC3GLMatrix *newMatrix = [CC3GLMatrix matrixFromGLMatrix: poseMatrix.data];
CC3Vector4 quart = [newMatrix extractQuaternion];
How can I use the CC3Matrix to get the same result that the deprecated CC3GLMatrix have in the example above?
Thanks in advance!