Releases: parallas/MathUtil
Releases · parallas/MathUtil
v1.2.0
this version adds a few quality of life improvements and one new method for Quaternion math.
versions 1.2 and onward will have binaries included in releases.
breaking changes
- Godot: (behavioral) nearly all usages of
System.MathFandSystem.Mathhave been replaced withGodot.Mathf, which may result in some very very small changes in behavior. - Godot: (breaking) renamed
ToVector2Iextension method toToPointto keep names consistent with other versions of MathUtil.
additions
- created this changelog!
- added
doublealternatives to most methods that returnfloator takefloatas a parameter. - added
FacingDirectionmethod, which produces a Quaternion rotation from a facing direction and an up vector. (@PixelDough)
technical changes
- msbuild:
Versionproperty is now defined. - msbuild:
ImplicitUsingsproperty has been disabled, so that people wishing to directly include theMathUtil.csfile in their project will be less likely to run into import problems. - MonoGame: converted
ToVector2andToPointextension methods to regular static methods, because they are redundant with the engine's implementation. - MonoGame & Numerics: the
Signmethod now usesSystem.Math.Signinstead ofSystem.MathF.Sign.
Full Changelog: v1.1.0...v1.2.0
v1.1.0
- Added
BasisFromNormal(Vector3, Vector3, Vector3)method. The resulting matrix will not be orthonormalized in the MonoGame and System.Numerics versions.
Full Changelog: v1.0.0...v1.1.0
v1.0.0
initial version