This commit is contained in:
aozhiwei 2019-03-19 11:41:19 +08:00
parent 1eaf2da087
commit e7ff93f844

View File

@ -49,7 +49,7 @@ namespace a8
} }
template <typename T> template <typename T>
const T& LengthSqr(const T& v) float LengthSqr(const T& v)
{ {
return v.x * v.x + v.y * v.y; return v.x * v.x + v.y * v.y;
} }