template<typename T>
sead::Vector2CalcCommon class

Public types

using Base = typename Policies<T>::Vec2Base

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