mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
490 B
21 lines
490 B
|
|
#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__ */
|