PDA

View Full Version : GLM rotate implementation



chachacha
01-02-2017, 02:29 PM
A program I have runs fine using GLM 0.9.4.3 (from 2013 when it was developed) but starts acting up if I use more recent GLM 0.9.7.5. It looks like the problem is with rotate. Are there changes with the more recent implementations?
Thanks.

GClements
01-02-2017, 08:04 PM
A program I have runs fine using GLM 0.9.4.3 (from 2013 when it was developed) but starts acting up if I use more recent GLM 0.9.7.5. It looks like the problem is with rotate. Are there changes with the more recent implementations?

In GLM 0.9.6 onwards, angles are always in radians. Older versions used a mixture of degrees and radians (functions which mimic legacy OpenGL or GLU matrix functions used degrees, other functions used radians).

chachacha
01-03-2017, 02:11 AM
That explains it, thanks.