summaryrefslogtreecommitdiff
path: root/arm9/lib/include/fx.h
diff options
context:
space:
mode:
authorwho-knows-who <j.williams97@outlook.com>2021-06-22 22:12:29 +0100
committerwho-knows-who <j.williams97@outlook.com>2021-06-22 22:12:29 +0100
commitcec1d428f458997fe3e4c0ac4abf0dc6b36ba699 (patch)
treef246a8956341a8f743d29c58f39a80a6ac5f865a /arm9/lib/include/fx.h
parent5bbef1bba183ad6654edbd0c8fc8244db38ac5c9 (diff)
parentd192b6951f54d1397ded3db03b5e486ec679ac6f (diff)
Merge branch 'master' of github.com:pret/pokediamond into 0202A1E0
Diffstat (limited to 'arm9/lib/include/fx.h')
-rw-r--r--arm9/lib/include/fx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arm9/lib/include/fx.h b/arm9/lib/include/fx.h
index 4a844872..38506194 100644
--- a/arm9/lib/include/fx.h
+++ b/arm9/lib/include/fx.h
@@ -65,6 +65,9 @@ typedef s64 fx64c;
#define FX16_CONST(x) FX_F32_TO_FX16(x)
#define FX32_CONST(x) FX_F32_TO_FX32(x)
+#define FX16_ONE ((fx16)0x1000)
+#define FX32_ONE ((fx32)0x00001000L)
+
struct Vecx32
{
fx32 x;