[codedump] 4D-Vector

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Post Reply
Superpig
Posts: 2
Joined: Thu Jun 02, 2005 9:56 pm
Location: UK

[codedump] 4D-Vector

Post 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?
Richard "Superpig" Fine [DXMVP]
- Bringer of Q and kittens
Galaxy613
Posts: 20
Joined: Wed Jun 01, 2005 12:46 am
Location: USA, VA
Contact:

Post by Galaxy613 »

Whats a 4D vector good for? :?
Image
Superpig
Posts: 2
Joined: Thu Jun 02, 2005 9:56 pm
Location: UK

Post 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).
Richard "Superpig" Fine [DXMVP]
- Bringer of Q and kittens
roninmagus
Posts: 91
Joined: Fri Oct 31, 2003 5:03 am

Post 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
daveandrews.org - A Christian Programmer's Weblog | Dusty Engine - A Task Engine for Irrlicht
Post Reply