Vector3 represents a vector in three dimensions: x, y, and z coordinates. It is fundamental to graphics, game development, and 3D modeling.
A vector is an ordered list of numbers.
It has magnitude (length) and direction.
Common vector types: (x, y, z), (x, y, z, w)
Addition: Vector a + b = (a + b) (The sum of the vectors)
Subtraction: Vector a - b = (a - b) (The difference of the vectors)
Multiplication: Vector a * b = (a * b) (The product of the vectors)
Scalar Multiplication: Vector a * k = k * a (Multiply the vector by a scalar)
Vector (1, 2, 3) 'a' = (1, 2, 3)
Vector (0, 0, 0) 'b' = (0, 0, 0)
Vector (5, 10, -2) 'c' = (5, 10, -2)
This is a placeholder for visual representation. (Requires a graphics library)