Revision history of "Vector"

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 07:37, 17 February 2022Teamred talk contribs 840 bytes +840 Created page with "Quake-C vectors are 3-dimensional vectors of floats. These are often used to represent a specific point in 3D space, a direction in 3D space, or a set of rotations. == Operations == === Dot Product === <code>vector a, b;</code> <code>float dp = a * b;</code> === Addition === <code>vector a, b;</code> <code>vector c = a + b;</code> === Scaling === <code>vector a;</code> <code>a = a * 3.5;</code> === Length === <code>vector a;</code> <code>float lengt..." Tag: Visual edit