windows-nt/Source/XPSP1/NT/multimedia/opengl/test/demos/misc/miscflt.h

22 lines
490 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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__ */