What does core::GRAD_PI and GRAD_PI2 represent?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Weng
Posts: 97
Joined: Tue Oct 03, 2006 4:23 pm
Location: Singapore

What does core::GRAD_PI and GRAD_PI2 represent?

Post by Weng »

I cam across some irrlicht code belonging to the older versions in the ODE & irrlicht tutorial.

In the methods which converts quaternions to euler and vice versa, there were core::GRAD_PI and core::GRAD_PI2.

I am currently using version 1.7.1 and there isn't any constant which matches the 2 above. What does the above 2 constants represent?

:?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

GRAD_PI got replaced by RADTODEG and GRAD_PI2 is now DEGTORAD64.

You can also check irrMath.h, it contains all those constants.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply