I am trying to rotate a 3d model in a similar way to the following:
1. Reset world. (Identity matrix)
2. Rotate object, translate them to the right location, scale etc
3. Rotate world as needed.
I'd like to use something similar to processing's (https://processing.org/) rotate functions, which allow for rotating on a specific axis.https://processing.org/reference/rotateY_.htmlfor example
From what I read ogre doesn't have any rotate functions that work with X,Y,Z, but there is this: http://ogre3d.org/tikiwiki/Euler+Angle+Class
However, I can't find ogremaths.hpp which is required. It is not part of the ogre ubuntu package.
Code: Select all
#include "OgreMaths.hpp"
#include "OgreVector3.hpp"
#include "OgreQuaternion.hpp"
#include "OgreMatrix3.hpp"
