Kiwano Engine v1.3.x
kiwano::math::Vec2T< _Ty > 模板结构体 参考

Public 类型

using ValueType = _Ty
 

Public 成员函数

 Vec2T (ValueType x, ValueType y)
 
 Vec2T (const Vec2T &other)
 
ValueType Length () const
 
bool IsOrigin () const
 
void Set (ValueType x, ValueType y)
 
const Vec2T operator+ (const Vec2T &other) const
 
const Vec2T operator- (const Vec2T &other) const
 
const Vec2T operator* (ValueType val) const
 
const Vec2T operator/ (ValueType val) const
 
const Vec2T operator- () const
 
Vec2Toperator+= (const Vec2T &other)
 
Vec2Toperator-= (const Vec2T &other)
 
Vec2Toperator*= (ValueType val)
 
Vec2Toperator/= (ValueType val)
 
bool operator== (const Vec2T &other) const
 
bool operator!= (const Vec2T &other) const
 

Public 属性

ValueType x
 
ValueType y