Page 1 of 1

[codedump] 4D-Vector

Posted: Thu Jun 02, 2005 10:09 pm
by Superpig
Hello all, first post &c...

I'm hacking around with the Irrlicht source code to try to bring it up to a level suitable for my project, and one of the first things I ran into was that it doesn't seem to have a 4D vector class.

So I cloned vector3D to make one, if you'd find it useful.

I know that there's only one developer on this project and he intends to keep things that way, but there's no harm in sharing bits of code around, right?

Posted: Thu Jun 02, 2005 10:19 pm
by Galaxy613
Whats a 4D vector good for? :?

Posted: Thu Jun 02, 2005 10:21 pm
by Superpig
All sorts of things. In my particular case, I wanted it for storing 4-tuples of bone indices and blend weights (because I'm implementing matrix palette skinning).

Posted: Sat Jun 04, 2005 5:23 am
by roninmagus
All hail the superpig!

Nice to see you around here :)

Edit: is there a reason you could not use quaternion class? (quaternion.h)

DoubleEdit: Well, nvm, I see there's a bunch of differences