summaryrefslogtreecommitdiff
path: root/include/trig.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-08-31 16:48:24 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-08-31 16:48:24 +0200
commit6f03356237fbfb60669cc3d80cb4c6cf8924957e (patch)
treee62657f00e7587ddaf8fcf49510ff97b42e46218 /include/trig.h
parentcbe13acff18405e99827df7c4a772d20b851f33b (diff)
begin working on pokeemerald
Diffstat (limited to 'include/trig.h')
-rw-r--r--include/trig.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/trig.h b/include/trig.h
new file mode 100644
index 000000000..a2f98a3e6
--- /dev/null
+++ b/include/trig.h
@@ -0,0 +1,11 @@
+#ifndef GUARD_TRIG_H
+#define GUARD_TRIG_H
+
+extern const s16 gSineTable[];
+
+s16 Sin(s16 index, s16 amplitude);
+s16 Cos(s16 index, s16 amplitude);
+s16 Sin2(u16 angle);
+s16 Cos2(u16 angle);
+
+#endif // GUARD_TRIG_H