template<typename T>
Vector2CalcCommon class
Public types
Public static functions
- static void add(Base& o, const Base& a, const Base& b)
- static void sub(Base& o, const Base& a, const Base& b)
- static void multScalar(Base& o, const Base& v, T t)
- static void negate(Base& v)
- static void set(Base& o, const Base& v)
- static void set(Base& v, T x, T y)
- static auto dot(const Base& a, const Base& b) -> T
- static auto cross(const Base& a, const Base& b) -> T
- static auto squaredLength(const Base& v) -> T
- static auto length(const Base& v) -> T
- static auto normalize(Base& v) -> T