Changeset 2346
 Timestamp:
 Feb 4, 2013, 5:19:01 PM (6 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/lol/math/vector.h
r2318 r2346 937 937 LOL_MEMBER_OPS(Quat, w) 938 938 939 //Angle in degree 939 940 static Quat<T> rotate(T angle, T x, T y, T z); 940 941 static Quat<T> rotate(T angle, Vec3<T> const &v); … … 1480 1481 1481 1482 /* Helpers for transformation matrices */ 1483 //Angle in degree 1482 1484 static Mat2<T> rotate(T angle); 1483 1484 1485 static inline Mat2<T> rotate(Mat2<T> mat, T angle) 1485 1486 { … … 1577 1578 static Mat3<T> scale(T x, T y, T z); 1578 1579 static Mat3<T> scale(Vec3<T> v); 1580 //Angle in degree 1579 1581 static Mat3<T> rotate(T angle, T x, T y, T z); 1580 1582 static Mat3<T> rotate(T angle, Vec3<T> v); … … 1606 1608 static Mat3<T> fromeuler_zyz(T phi, T theta, T psi); 1607 1609 1610 //Angle in degree 1608 1611 static inline Mat3<T> rotate(Mat3<T> mat, T angle, Vec3<T> v) 1609 1612 { … … 1731 1734 } 1732 1735 1736 //Angle in degree 1733 1737 static inline Mat4<T> rotate(T angle, T x, T y, T z) 1734 1738 { … … 1736 1740 } 1737 1741 1742 //Angle in degree 1738 1743 static inline Mat4<T> rotate(T angle, Vec3<T> v) 1739 1744 { … … 1741 1746 } 1742 1747 1748 //Angle in degree 1743 1749 static inline Mat4<T> rotate(Mat4<T> &mat, T angle, Vec3<T> v) 1744 1750 {
Note: See TracChangeset
for help on using the changeset viewer.