wentam / Graffiks

A flexible and fast graphics engine.
MIT License
0 stars 0 forks source link

euler rotation interface #69

Open wentam opened 9 years ago

wentam commented 9 years ago

It would be nice to have an euler rotation interface for everything that rotates.

In order to deal with gimbal lock, the euler rotations should be relative, and specific to one component (rotate_euler_x() would rotate by x relative to current rotation). These rotations would be applied one at a time to the stored quaternion.

The quaternion interface of course, would stay.