[gameprogrammer] Re: c++ template problem

  • From: Nicolas Goy <kuon@xxxxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Mon, 20 Jul 2009 23:26:12 +0200


On Jul 18, 2009, at 11:17 PM, Brian wrote:

This sounds like overkill. Most people use 2 vector types, 2D and 3D.

I agree, but don't forget 4D for homogeneous transformation.

Also, as the math is different (you can't cross product 2d vectors), it doesn't really make sense to have something generic.

My two cents

--
kuon
Crazy programmer Bear.
http://kuon.goyman.com


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: