Why does OpenGL use degrees instead of radians?

后端 未结 5 2042
南方客
南方客 2021-02-01 11:42

The OpenGL designers were never afraid of mathematics, and knowledge of linear algebra is essential for all but the simplest OpenGL applications. I think it can safely be assume

5条回答
  •  孤独总比滥情好
    2021-02-01 12:41

    Code is easier to read, it eases learning curve for newbies and allows quick hacking.

    As stated already - degrees HAVE advantage - humans are better used to degrees, compare: 0.78539816339744830961566084581988... to 45 degrees for example :/.

    For advanced uses of OpenGL you provide your own matrices anyway.

提交回复
热议问题