I'm working on some local space functions for a little project.
I've got a function called getRotation(), which should return the euler angles for an object given it's parent's rotation and it's own local rotation.
So given two rotation vectors:
Vector3f parentRotation
Vector3f localRotation
How can I apply the local rotation onto the parent rotation?
If it helps I'm using Java with LWJGL 2.