1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-10 19:20:13 +00:00
oot/include/ultra64/gu.h

27 lines
330 B
C
Raw Normal View History

#ifndef ULTRA64_GU_H
#define ULTRA64_GU_H
2020-03-17 04:31:30 +00:00
#include "ultratypes.h"
2020-03-17 04:31:30 +00:00
#define GU_PI 3.1415926
#define ROUND(x) (s32)(((x) >= 0.0) ? ((x) + 0.5) : ((x) - 0.5))
typedef union {
struct {
u32 hi;
u32 lo;
} word;
f64 d;
} du;
typedef union {
u32 i;
f32 f;
} fu;
extern f32 __libm_qnan_f;
2020-03-17 04:31:30 +00:00
#endif