Renamed Degrees|Radians functions to From[Degrees|Radians]
Also added To[Degrees|Radians] functions Former-commit-id: b7445a42e5ee88319009db9d664d8d9f8fe88c18
This commit is contained in:
@@ -77,7 +77,7 @@ T NzVector3<T>::AngleBetween(const NzVector3& vec) const
|
||||
#endif
|
||||
|
||||
T alpha = DotProduct(vec)/divisor;
|
||||
return NzRadians(std::acos(NzClamp(alpha, F(-1.0), F(1.0))));
|
||||
return NzFromRadians(std::acos(NzClamp(alpha, F(-1.0), F(1.0))));
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user