Rotate and translate object in local and global orientation using glm
Before I come to your question, let me explain some core concepts of matrices. Assume that we have the following matrix: wher T is a translation and R is a rotation matrix. When we use this matrix to transform a vertex (or even mesh), there is one unique result. However, we can get to this … Read more