Modern versions of GLM incur quite hefty compilation time. I saw recommendation to use glm/fwd.hpp, unfortunatelly it doesn't work when one needs to declare types that depend on vectors and matrices. As a (dirty) workaround we use glm/detail/types_vec.hpp etc, and it does the trick, but it would be much better to have these headers available in public part.
Also, glm/gtc/quaternion.hpp includes glm/vec*.h (which inhibits attempts to reduce compilation time), while it would be much better to have glm/gtc/types_quaternion.hpp, declaring just quaternion type, and separate glm/gtc/quaternion.hpp defining all needed operations.
Modern versions of GLM incur quite hefty compilation time. I saw recommendation to use
glm/fwd.hpp, unfortunatelly it doesn't work when one needs to declare types that depend on vectors and matrices. As a (dirty) workaround we useglm/detail/types_vec.hppetc, and it does the trick, but it would be much better to have these headers available in public part.Also,
glm/gtc/quaternion.hppincludes glm/vec*.h (which inhibits attempts to reduce compilation time), while it would be much better to haveglm/gtc/types_quaternion.hpp, declaring just quaternion type, and separateglm/gtc/quaternion.hppdefining all needed operations.