[Plib-devel] Quaternions in plib
Brought to you by:
sjbaker
From: Sam S. <sa...@sp...> - 2000-08-10 23:12:42
|
Well, it appears it was my code that was broken - not plib. This evening I took the tux on a pedestal example and adjusted it so you can fly around tux using quaternions, and it all works fine. I nearly got carried away and changed it so you could fly tux about - but then I remembered it's susposed to be a simple example. As it uses the tux data files should I place it in examples/src/tux or examples/src/quaternions and set the model and texture paths to ../tux/data? I prefer the later myself, but that's me. If I get the time I'll write a small article to go with the exampe source. Incidently why does sgCoord store euler angles? Aren't eulers evil? :) I would had expected an (x, y, z) vector and a quaternion. Sam |