Homogeneous Co-ordinates

Consider a 3D Vector to have an X, Y and Z component. However, in Homogeneous space, a 3D vector has a X, Y, Z and W component.

Thus:

  • w=0: consider this a direction (a proper vector)
  • w=1: consider this a point (a position)
  • anything else may still be correct, but probably not.

Trig

Cheatsheet Trig

angles

Cheatsheet Angles

formulas

Cheatsheet Formulas

Vectors

Cheatsheet Vectors

Matrices

Cheatsheet Matricess

Vertex and Index Buffers

Cheatsheet vertexbuffers