![]() |
Copperfield Engine 0.1
C++ Game Engine
|
represents mathematical vector with 4 components More...
#include <vector_4.h>
Public Member Functions | |
| float | Magnitude () const |
| Vec4 | Normalized () const |
| void | Scale (Vec4 scale) |
| float | SqrMagnitude () const |
| Vec4 | Homogenize () |
Static Public Member Functions | |
| static float | Distance (const Vec4 &a, const Vec4 &b) |
| static float | DotProduct (Vec4 a, Vec4 b) |
| static Vec4 | Lerp (const Vec4 &a, const Vec4 &b, float index) |
represents mathematical vector with 4 components
|
inline |
| a | |
| b | |
| index |
|
inline |
|
inline |
|
inline |
| scale |
|
inline |