22 lines
490 B
C
22 lines
490 B
C
|
|
#ifndef __MISCFLT_H__
|
|
#define __MISCFLT_H__
|
|
|
|
#define ZERO (0.0f)
|
|
#define POINT_TWO (0.2f)
|
|
#define POINT_FOUR (0.4f)
|
|
#define POINT_EIGHT (0.8f)
|
|
#define HALF (0.5f)
|
|
#define ONE (1.0f)
|
|
#define TWO (2.0f)
|
|
#define THREE (3.0f)
|
|
#define FOUR (4.0f)
|
|
#define FIVE (5.0f)
|
|
#define TEN (10.0f)
|
|
#define NINETY (90.0f)
|
|
|
|
#define SINF(x) ((float)sin(x))
|
|
|
|
|
|
#endif /* __MISCFLT_H__ */
|