[fixed] documentation bugs

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
white tiger
Posts: 269
Joined: Tue Oct 31, 2006 3:24 pm
Contact:

[fixed] documentation bugs

Post by white tiger »

hi all.
the documentation of the function irr::core::_max is incorrect. it is:

"returns minimum of two values" but it would be:
"returns maximum of two values"

bye :D
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Thanks, will be fixed in next revision.
white tiger
Posts: 269
Joined: Tue Oct 31, 2006 3:24 pm
Contact:

Post by white tiger »

maybe I found another bug: in irrMath.h there are:

"const f64 irr::core::DEGTORAD64 = PI64 / 180.0"

and

"const f64 irr::core::GRAD_PI2 = PI64 / 180.0"

and in my hopinion their value are identical

is this a bug?

bye :D
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

No, that's ok. The latter one is and older constant with an unintuitive name :D
Mobius
Posts: 14
Joined: Sun Dec 18, 2005 3:16 pm

Post by Mobius »

Another little typo:

virtual const core::vector3df irr::scene::ISceneNode::getRotation ( ) const

Sets the rotation of the node.
Anteater
Posts: 266
Joined: Thu Jun 01, 2006 4:02 pm
Location: Earth
Contact:

Post by Anteater »

The documentation for setMD2Animation() is messed up, too.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Anything else than wrong spelling?
Post Reply