Alvaro Cassinelli
/
skinGames_forktest
just a test
Fork of scoreLight_Advanced by
Diff: myVectorClass.h
- Revision:
- 48:7633d8e7b0d3
- Parent:
- 31:5f039cbddee8
diff -r 2312a8dc9658 -r 7633d8e7b0d3 myVectorClass.h --- a/myVectorClass.h Tue Apr 01 14:57:37 2014 +0000 +++ b/myVectorClass.h Tue Dec 02 04:28:42 2014 +0000 @@ -405,7 +405,7 @@ inline float vector2D<T>::angleDeg( const vector2D<T>& vec ) const { return (float)(atan2( x*vec.y-y*vec.x, x*vec.x + y*vec.y )*RAD_TO_DEG); } - + template <class T> inline float vector2D<T>::angleRad( const vector2D<T>& vec ) const { return atan2( x*vec.y-y*vec.x, x*vec.x + y*vec.y );