Ignore:
Timestamp:
Feb 18, 2011, 1:09:15 AM (10 years ago)
Author:
sam
Message:

Implement float4x4::ortho() and float4x4::translate().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/matrix.h

    r652 r660  
    196196    Mat4<T> invert() const;
    197197
     198    static Mat4<T> ortho(T left, T right, T bottom, T top, T near, T far);
    198199    static Mat4<T> frustum(T left, T right, T bottom, T top, T near, T far);
    199200    static Mat4<T> perspective(T theta, T width, T height, T near, T far);
     201    static Mat4<T> translate(T x, T y, T z);
    200202
    201203    inline Mat4<T> operator +(Mat4<T> const val) const
Note: See TracChangeset for help on using the changeset viewer.