Releases: N1ghtTheF0x/ntf-math
Releases · N1ghtTheF0x/ntf-math
1.2.0 - the teacher got stricter
- type checks in constructors
- new static method
cast
. It's likeresolve
but instead giving a exception it's giving you undefined - better
is
check (no try catch)
1.1.3 - color integer fix
- welp I fucked up the color integer conversion, should be fixed (hopefully)
- forgor to add
HexLike
andnumber
type toAnyColorLike
💀 - removed some unused code
1.1.2
oops I skipped 1.1.1, oh well...
- added some static methods for Vec3 and Mat4 for potential game dev
- fixed some stuff with color
- new function ´resolveColor` allows you to resolve to any kind of color (RGB, RGBA, HSL, HSLA)
1.1.0 - resolve fix + color
- fixed some problems with resolving vectors and rectangles
- added basic color class for color manipulation
1.0.0
ass