forked from kdx/jtmm2-old
17 lines
378 B
C
17 lines
378 B
C
#define VEC_PRECISION 1024
|
|
#define UPS 256
|
|
#define PXS (VEC_PRECISION / UPS)
|
|
#define TILE_SIZE (8 * VEC_PRECISION)
|
|
#define VEC_DCENTER (Vec){DWIDTH / 2, DHEIGHT / 2}
|
|
|
|
#ifdef FX9860G
|
|
#define SCALE 1
|
|
#define FPS 64
|
|
#endif /* FX9860G */
|
|
#ifdef FXCG50
|
|
#define SCALE 2
|
|
#define FPS 32
|
|
#endif /* FXCG50 */
|
|
|
|
#define VEC_SCALED_DCENTER (Vec){DWIDTH / (2 * SCALE), DHEIGHT / (2 * SCALE)}
|