mrpowhs

Untitled

Feb 9th, 2014
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /// OSZTÁLYON KÍVÜL
  2.  
  3. // Normalizált vektor
  4. template <class T>
  5. inline Vec3<T> normalized(const Vec3<T>& v)
  6. {return Vec3<T>(v/v.length());}
Advertisement
Add Comment
Please, Sign In to add comment