Fixed compilation errors

Former-commit-id: 1ba7f27b5e56aee1ffc34459ab64d56bfe359dfe
This commit is contained in:
Lynix
2013-09-23 00:22:18 +02:00
parent 2fd86dc406
commit ffbff9e707
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ T NzVector3<T>::Distance(const NzVector3& vec) const
template<typename T>
float NzVector3<T>::Distancef(const NzVector3& vec) const
{
return std::sqrt(static_cast<float>(SquaredDistance()));
return std::sqrt(static_cast<float>(SquaredDistance(vec)));
}
template<typename T>