![]() |
Copperfield Engine 0.1
C++ Game Engine
|
represents mathematical vector with 2 components More...
#include <vector_2.h>
Public Member Functions | |
| float | Magnitude () const |
| Vec2 | Normalized () const |
| void | Scale (const Vec2 scale) |
| float | SqrMagnitude () const |
Static Public Member Functions | |
| static float | Distance (const Vec2 a, const Vec2 b) |
| static float | DotProduct (Vec2 a, Vec2 b) |
| static Vec2 | Lerp (const Vec2 a, const Vec2 b, float t) |
| static Vec2 | LerpUnclamped (const Vec2 a, const Vec2 b, float t) |
| static float | Radians (const Vec2 v) |
represents mathematical vector with 2 components
| a | |
| b | |
| t |
|
inline |
|
inline |
|
inlinestatic |
| v |
|
inline |
| scale |
|
inline |