8 #pragma warning (push,1)
14 #pragma warning(disable : 4996)
15 #pragma warning(disable : 4530)
50 Point3 (
const T n[3]) :
x(n[0]),
y(n[1]),
z(n[2]) {}
88 x *= d;
y *= d;
z*= d;
135 template <
typename T>
138 return (p1 - p2).Magnitude();
148 inline std::ostream &operator<<(std::ostream &os, const lwpp::Vector3<T> &t)
151 os <<
" <" << t.x <<
"," << t.y <<
"," << t.z <<
"> ";
156 inline std::ostream &operator<<(std::ostream &os, const lwpp::Point3<T> &t)
159 os <<
" <" << t.x <<
"," << t.y <<
"," << t.z <<
"> ";