Source code of Windows XP (NT5)
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

  1. #ifndef __MISCFLT_H__
  2. #define __MISCFLT_H__
  3. #define ZERO (0.0f)
  4. #define POINT_TWO (0.2f)
  5. #define POINT_FOUR (0.4f)
  6. #define POINT_EIGHT (0.8f)
  7. #define HALF (0.5f)
  8. #define ONE (1.0f)
  9. #define TWO (2.0f)
  10. #define THREE (3.0f)
  11. #define FOUR (4.0f)
  12. #define FIVE (5.0f)
  13. #define TEN (10.0f)
  14. #define NINETY (90.0f)
  15. #define SINF(x) ((float)sin(x))
  16. #endif /* __MISCFLT_H__ */