Original Post
Hello I often see cameras and other stuff's 3d orientation represented by something that looks like this: I dont quite get what this is doing, i imagine it is some kind of local coordinate system. But how does it work? is the m_pos ready to be used as a world position? Or does it need to be converted to the "real" world coordinate system first? And what is the advantage to using this approach from just using: float m_xpos, m_ypos, m_zpos; float m_xrot, m_yrot, m_zrot; To represent a world orientation? Thanks in advance
float m_pitch, m_yaw, m_roll;
vector3d_t m_pos;
vector3d_t m_dir, m_right, m_up;