You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MathUtils and MathHelper classes partially duplicate each other.
I was trying to use MathUtils and did not find particular method (RadiansToDegrees), so ended up implementing it on my own, and later found that method already existed in MathHelper.
Is there anything that prevents combining them in one class?
The text was updated successfully, but these errors were encountered:
ivan-mogilko
changed the title
Suggestion: merge MathUtil and MathHelper classes
Suggestion: merge MathUtils and MathHelper classes
Feb 7, 2018
MathHelper is part of OpenTK. It's currently copied to AGS.API for technical reasons (like all other classes in the OpenTK folder). It's temporary- OpenTK are planning to split the library into modules, one of them will be OpenTK.Math (see here: opentk/opentk#360). Once that happens I'll be able to use OpenTK.Math and delete MathHelper and the rest of the classes from the API.
Until that happens, I don't want to touch anything in that class, as it will make things harder later on.
MathUtils and MathHelper classes partially duplicate each other.
I was trying to use MathUtils and did not find particular method (RadiansToDegrees), so ended up implementing it on my own, and later found that method already existed in MathHelper.
Is there anything that prevents combining them in one class?
The text was updated successfully, but these errors were encountered: