Advertisement
mrpowhs

Untitled

Feb 9th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.12 KB | None | 0 0
  1. // Normalizált vektor
  2. template <class T>
  3. inline Vec3<T> normalized(const Vec3<T>& v)
  4. {return Vec3<T>(v/v.length());}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement