Changeset 2346


Ignore:
Timestamp:
Feb 4, 2013, 5:19:01 PM (10 years ago)
Author:
touky
Message:

comment : Angle in degree
Because goldfishes have no memory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/math/vector.h

    r2318 r2346  
    937937    LOL_MEMBER_OPS(Quat, w)
    938938
     939    //Angle in degree
    939940    static Quat<T> rotate(T angle, T x, T y, T z);
    940941    static Quat<T> rotate(T angle, Vec3<T> const &v);
     
    14801481
    14811482    /* Helpers for transformation matrices */
     1483    //Angle in degree
    14821484    static Mat2<T> rotate(T angle);
    1483 
    14841485    static inline Mat2<T> rotate(Mat2<T> mat, T angle)
    14851486    {
     
    15771578    static Mat3<T> scale(T x, T y, T z);
    15781579    static Mat3<T> scale(Vec3<T> v);
     1580    //Angle in degree
    15791581    static Mat3<T> rotate(T angle, T x, T y, T z);
    15801582    static Mat3<T> rotate(T angle, Vec3<T> v);
     
    16061608    static Mat3<T> fromeuler_zyz(T phi, T theta, T psi);
    16071609
     1610    //Angle in degree
    16081611    static inline Mat3<T> rotate(Mat3<T> mat, T angle, Vec3<T> v)
    16091612    {
     
    17311734    }
    17321735
     1736    //Angle in degree
    17331737    static inline Mat4<T> rotate(T angle, T x, T y, T z)
    17341738    {
     
    17361740    }
    17371741
     1742    //Angle in degree
    17381743    static inline Mat4<T> rotate(T angle, Vec3<T> v)
    17391744    {
     
    17411746    }
    17421747
     1748    //Angle in degree
    17431749    static inline Mat4<T> rotate(Mat4<T> &mat, T angle, Vec3<T> v)
    17441750    {
Note: See TracChangeset for help on using the changeset viewer.