shithub: cstory

Download patch

ref: eabda302630520e269671262428bb992a574665b
parent: c21bb1c14fd79521d1b110157b2d37c36d110c0f
parent: 7f7553bef25fa9f0f5a0f69b3d7a58527cc3ee97
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Sep 5 13:19:48 EDT 2019

Merge branch 'accurate' into portable

--- 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 = sinf(a) / cosf(a);
+		b = sin(a) / cos(a);
 		gTan[i] = (short)(b * 8192.0f);
 	}
 }
--