Vector

Keywords: Ray, Direction, Force, Position, Datatype Vectors are, perhaps, the most fundamental mathematical objects used in computer games. We use vectors to represent positions, displacements, directions, velocities, and forces.

''A vector refers to a quantity that possesses both magnitude and direction. Quantities that possess both magnitude and direction are called vector-valued quantities. Examples of vector-valued quantities are forces (a force is applied in a particular direction with a certain strength—magnitude), displacements (the net direction and distance a particle moved), and velocities (speed and direction).

In addition, we also use vectors to specify pure directions, such as the direction the player is looking in a 3D game, the direction a polygon is facing, the direction in which a ray of light travels, or the direction in which a ray of light reflects off a surface. ''

From Frank D Luna, Introduction to 3D Game Programming with DirectX11

Additionally,

Vectors can also be thought of as a list or an array of data.

For example, RGBA channels of a Texture is a Vec4 or Float4, a Vector with 4 components, RGBA or XYZW each storing a float value.

UV data of a mesh can be thought of as a Vec2 or a Float2, A Vector with 2 components, RG or XY or UV!

[TODO]

[]Simple, ELI5 explanations with graphics for vectors?

[]Vector Math and Vector Operations with relevant examples, check if glossary has them, otherwise make new pages

[]Examples of where and how vectors are used in FX workflows with relevant links to their pages (like UVs, etc)

[]Ask Glad about what he thinks about these, maybe using quotes from books is bad?

Resources :

https://chortle.ccsu.edu/vectorlessons/vch01/vch01_1.html

https://paroj.github.io/gltut/Basics/Introduction.html#idp288