BasicMath
Preface
Time to understand basic math which often used in OpenGL.
Source From
- Vector dot product and vector length: https://www.khanacademy.org/math/linear-algebra/vectors-and-spaces/dot-cross-products/v/vector-dot-product-and-vector-length
- dot - OpenGL 4 Reference Page: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/dot.xhtml
- How to Normalized Vector: https://www.youtube.com/watch?v=7fn03DIW3Ak
- Vector: https://khanacademy.org/computing/computer-programming/programming-natural-simulations/programming-vectors/a/intro-to-vectors
Summary
Nomenclature
- Vector: Consist of direction and magnitude.
- Dot Product: Generate scalar value.
- Unit Vector: Create unit vector. Vector / Magnitude. u^=∣∣u∣∣ / u->
- Scalar Quantity: A quantity which does not depend on direction.
- Vector Quantity: A quantity which depends on direction.