Talk:Vector

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.

I did a major revamp to the "more about planes" section to make it clearer.

The \times symbol looks so much like the cross product that I just replaced it everywhere with standard algebraic notation.


Agreed. It is clearer now... and nobody with knowledge of algebra will misunderstand the notation. Ryan Clark 22:52, 6 Feb 2005 (EST)


I also fixed a major error in computing the angle from the dot product. John Bolton 19:45, 7 Feb 2005 (PST)


the float Angle(const Vector& a, const Vector& b) algorithm is a mess and incorrect. You should clean it up. (i.e. var dotproduct not defined before it's used, and then a value is assigned but not used anymore).

dot product

I have noted the two important cases for the dot product - = 0 for perpendicular, and = magnitude(A) X magnitude(B ) for parallel. This can be found in the 2D stuff section.

Removed Vector Notation From Components

I removed the vector notation from the components of the vectors. I believe this is the correct way. If you disagree please discuss.