Ignore:
Timestamp:
May 2, 2011, 1:41:41 PM (10 years ago)
Author:
Sam Hocevar
Message:

lol: add the cross-platform Timer class from Lol Engine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/common.h

    r565 r574  
    2222//
    2323#include "lol/matrix.h"
     24#include "lol/timer.h"
    2425using namespace lol;
    2526
     
    2930static inline int Min(int a, int b) { return a < b ? a : b; }
    3031static inline int Max(int a, int b) { return a > b ? a : b; }
     32static inline unsigned int Min(unsigned int a, unsigned int b) { return a < b ? a : b; }
     33static inline unsigned int Max(unsigned int a, unsigned int b) { return a > b ? a : b; }
    3134static inline long Min(long a, long b) { return a < b ? a : b; }
    3235static inline long Max(long a, long b) { return a > b ? a : b; }
Note: See TracChangeset for help on using the changeset viewer.