Mercurial > MadButterfly
view include/mb_basic_types.h @ 795:46a4cd4d382b
Remove dependent on system time to gain frame rate
Date.now() would read system time. It is ineffeciency in for some
implementation. To gain frame rate, we should rely on accuration of
setInterval().
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 31 Aug 2010 10:04:15 +0800 |
parents | e813ac222f48 |
children | b42d69ab8857 586e50f82c1f |
line wrap: on
line source
#ifndef __MB_BASIC_TYPES_H_ #define __MB_BASIC_TYPES_H_ typedef float co_aix; typedef float co_comp_t; typedef struct _grad_stop { co_aix offset; co_comp_t r, g, b, a; } grad_stop_t; #endif /* __MB_BASIC_TYPES_H_ */