summaryrefslogtreecommitdiff
path: root/arm9/lib/include/fx.h
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-06-10 22:42:43 +0100
committerGitHub <noreply@github.com>2021-06-10 22:42:43 +0100
commitaa185f6be5696ae4bd6c9f8093eb13a06cb2cc79 (patch)
tree8f56e977e7e4f69c1c48249118074f500857f195 /arm9/lib/include/fx.h
parent6bede5a9393e2796c110e6304f455293a240cd7b (diff)
parente8d0b49a6864d6077a5d7b1c123c49481fe14bfe (diff)
Merge branch 'master' into unkk_020851B8
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;