Talk:MathGem:Vector Operations

From GPWiki

Files:GUITutorial_warn.gif The Game Programming Wiki has moved! Files:GUITutorial_warn.gif

The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server.

However, the GPWiki forums are still active! Come say hello.

So, didn't I kind of go over all this in Math:Vector already? Although I have to admit, the TeX math stuff is prettier on this page. --Marijn

Yes, it is somewhat duplicated... the "gems" are supposed to be nice little nuggets of code that you can quickly insert into your projects. For longer explanations I think a full-on article in the language agnostic section would make more sense. Ryan Clark 23:12, 13 Jan 2005 (EST)

Divide by zero

Shouldn't Normalize() make sure that len is not zero before dividing by it?


[GMan] Wouldn't it be faster to not have powers and just multiply twice? (In the length)