Files

7 lines
102 B
C++

#include <cmath>
#include "Vec3D.h"
int Vec3D::getLength()
{
return std::sqrt((x*x + y*y + z*z));
}