Advertisement
mrpowhs

Untitled

Feb 9th, 2014
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. /// OSZTÁLYON KÍVÜL
  2.  
  3. // Két vektor álltal közbezárt szög
  4. template <class T>
  5. inline T angle(const Vec3<T>& a, const Vec3<T>& b)
  6. {return std::acos(dot(normalized(a), normalized(b)));}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement