ref: 0532e2afa2154b25e8736622cebf69ec39e7da1f
parent: 8114f88dd1f27674e2a43527c943ae7e8e0cb1e7
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Sep 6 16:08:07 EDT 2019
Shut up a warning
--- a/src/Triangle.cpp
+++ b/src/Triangle.cpp
@@ -21,7 +21,7 @@
for (i = 0; i < 0x21; ++i)
{
a = (float)(i * 6.2831855f / 256.0f);
- b = sin(a) / cos(a);
+ b = (float)sin(a) / (float)cos(a);
gTan[i] = (short)(b * 8192.0f);
}
}