3 small requestes

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
white tiger
Posts: 269
Joined: Tue Oct 31, 2006 3:24 pm
Contact:

3 small requestes

Post by white tiger »

hi. i have 3 small requestes for the new release of Irrlicht

1)write a matrix4::getRotationRadians() function (only getRotationDegrees() is currently available and i multiply the returned value manually for core::DEGTORAD)

2)change the parameter type "userData" of the function addHighLevelShaderMaterial() (and of OnSetConstants() of course) from "s32" to "void*". I need to pass to the callback function a class' instance, not a signed int.
make a vector with all class' instances and pass the index to the position of the instance in the vector is not a good idea in my hopinion. However generally an user data is "void*", not int

3)stencil shadow is too old in my hopinion. Implement also shadow mapping and make the user free to choose between the two tecniques

bye
Post Reply