View difference between Paste ID: xnw9pAr8 and z1czenqK
SHOW: | | - or go back to the newest paste.
1
/// OSZTÁLYON KÍVÜL
2
3
// Dot product
4
template <class T>
5
inline T dot(const Vec3<T>& v1, const Vec3<T>& v2)
6
{return v1[0]*v2[0] + v1[1]*v2[1] + v1[2]*v2[2];}