Changeset 1807 for trunk/src/lol/math/vector.h
- Timestamp:
- Aug 24, 2012, 12:51:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lol/math/vector.h
r1799 r1807 935 935 static Quat<T> rotate(T angle, T x, T y, T z); 936 936 static Quat<T> rotate(T angle, Vec3<T> const &v); 937 static Quat<T> slerp(Quat<T> QuatA,Quat<T> QuatB, float const &Scalar);938 937 939 938 /* Convert from Euler angles. The axes in fromeuler_xyx are … … 1020 1019 1021 1020 template<typename T> 1022 static inline Quat<T> operator /(Quat<T> x, Quat<T> const &y)1021 static inline Quat<T> operator /(Quat<T> const &x, Quat<T> const &y) 1023 1022 { 1024 1023 return x * re(y); 1025 1024 } 1025 1026 template<typename T> 1027 extern Quat<T> slerp(Quat<T> const &qa, Quat<T> const &qb, T f); 1026 1028 1027 1029 /*
Note: See TracChangeset
for help on using the changeset viewer.