Adding to that.. VectorNormalize was there as well, to do the same thing as NormalizeInPlace. Ie:
Vector blah = Vector(x,y,z); VectorNormalize(blah); Oh and you can add functions to vector in hl2 and no problems persist. One of the things I added back into vector a while back was copying back and forth between float pointers. -----Original Message----- From: Tony "omega" Sergi [mailto:[EMAIL PROTECTED] Sent: March 24, 2006 8:08 AM To: [email protected] Subject: RE: [hlcoders] Why VectorNormalize? Looking back at all the posts, the only thing I can glean is simply this; If you look at hl1, everywhere that valve used CVEctor->Normalize(); it was like this: Vector blah = Vector(x,y,z); blah = blah.Normalize(); so you're copying the vector around. They simply replaced that with Vector blah = Vector(x,y,z); blah->NormalizeInPlace(); _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

