Renamed Degrees|Radians functions to From[Degrees|Radians]
Also added To[Degrees|Radians] functions Former-commit-id: b7445a42e5ee88319009db9d664d8d9f8fe88c18
This commit is contained in:
@@ -57,7 +57,7 @@ inline unsigned int NzVector2<unsigned int>::AbsDotProduct(const NzVector2<unsig
|
||||
template<typename T>
|
||||
T NzVector2<T>::AngleBetween(const NzVector2& vec) const
|
||||
{
|
||||
return NzRadians(std::atan2(vec.y, vec.x) - std::atan2(y, x));
|
||||
return NzFromRadians(std::atan2(vec.y, vec.x) - std::atan2(y, x));
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user