- Vector class:
- Fix Vector opposite method
- improved performances
- Vector2 class:
- Add setScalar(), setArray(), isEqualTo(), setRadian(), setDegree(), setMinAxis(), setMaxAxis() methods
- Delete set(), clone(), setFromArray() and setFromAngle() methods
- opposite() and absolute() methods now accept an axis name as parameter to set only this axis.
- Vector3 class:
- Add setScalar(), setArray() and isEqualTo() method
- Delete set(), setFromArray() and clone() methods
- Circle class:
- First parameter of set() method and constructor is now Radius.
- Delete set(), setPositionXY() and setPositionFromVector() methods
- Add setPosition(), setRadius() and setDiameter() methods
- Rectangle class:
- First parameters of constructor are now width and height.
- delete setPositionXY(), setPositionX(), setPositionFromVector() and setPositionY() methods
- delete set(), setSizeXY(), setSizeX(), setSizeFromVector() and setSizeY() methods
- Export Type6 as CommonJS module
- Update Typescript to version 4
- Automated Unit tests with Jest
- Smaller package size
- Vector Classes refactor
- Vector2 and Vector3 classes:
- delete setFromArray() method
- Matrix4x3 class:
- fix lookAtRH() method in
- New Matrix3x3 class
- New website
- New documentation
- Added NumArray static class to work with array of numbers. Get min value, max value, sum, average...
- millisecondToFramePerSecond() method in Time class returns the exact result instead of a rounded number.
- framePerSecondToMillisecond() method in Time class returns the exact result instead of a rounded number.
- Added contains() static method in Utils class.
- Added contains() method in Rectangle class.
- Added contains() method in Circle class.
- fixed declaration file.
- Improved typings.
- fixed declaration file.
- fixed copy() method in Vector3 class.
- Type6.js published on NPM at @lcluber/type6js.
- Updated README.md with NPM installation procedure.
- Stable library.
- Comprehensive API.
- Ready for production.