ReksioEngine / ReksioEngine

https://reksioengine.github.io/ReksioEngine/
5 stars 0 forks source link

Incorrect shooting angle in UFO:S85_SLONCE #21

Closed Adikso closed 18 hours ago

Adikso commented 4 days ago

All methods are implemented and no errors are thrown, but the shooting angle is sometimes incorrect.

Adikso commented 18 hours ago
fVar1 = (float10)fsin((float10)dVar2 * (float10)0.01745329);

It turns out that it is first converting the angle to radians when calculating sinus. 0.01745329 ~= PI/180