I'm using glm library. Transform class stores single glm::mat4
Fuction glm::decompose can give me all information I need, but... Why I need to extract everything if I need, for example, only position?
Don't sure about interface of Transform tho
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Extract position, rotation and scale from Transformation Matrix (glm library, C++)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement