orangeduck / Corange

Pure C Game Engine
http://www.youtube.com/watch?v=482GxqTWXtA
Other
1.78k stars 199 forks source link

Why are there multiple definitions of quadratic()? #67

Open d4v3y5c0n3s opened 3 years ago

d4v3y5c0n3s commented 3 years ago

The exact same function "quadratic()" is defined in the exact same way in two places: in cengine.c and cphysics.h/cphysics.c. Is this intentional? I could probably fix this if it isn't.

orangeduck commented 3 years ago

No specific reason - this is probably a mistake and we could just keep the one in cengine.c

d4v3y5c0n3s commented 3 years ago

@orangeduck Ok, this issue isn't necessarily a big deal, it just struck me as odd when I saw it in the code. I don't have time to work on this right away, but if no one else picks it up I can fix it in the near future.