From 3f7d0a195afd90c182cd631e14f5acb5d29be34b Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Sun, 21 May 2017 13:31:26 +0200 Subject: Define gSineTable in trig.h --- include/trig.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/trig.h') diff --git a/include/trig.h b/include/trig.h index 5a948e1ef..03d8c453e 100644 --- a/include/trig.h +++ b/include/trig.h @@ -1,6 +1,8 @@ #ifndef GUARD_TRIG_H #define GUARD_TRIG_H +extern s16 gSineTable[]; + s16 Sin(s16 index, s16 amplitude); s16 Cos(s16 index, s16 amplitude); s16 Sin2(u16 angle); -- cgit v1.2.3 From 3344d86d906405843827c098b3da98b7f7855df1 Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Thu, 15 Jun 2017 19:37:42 -0500 Subject: move trig data to C --- include/trig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/trig.h') diff --git a/include/trig.h b/include/trig.h index 03d8c453e..a2f98a3e6 100644 --- a/include/trig.h +++ b/include/trig.h @@ -1,7 +1,7 @@ #ifndef GUARD_TRIG_H #define GUARD_TRIG_H -extern s16 gSineTable[]; +extern const s16 gSineTable[]; s16 Sin(s16 index, s16 amplitude); s16 Cos(s16 index, s16 amplitude); -- cgit v1.2.3