Releases: RonenNess/SSCD.js
Releases · RonenNess/SSCD.js
SSCD 1.5
SSCD 1.5 changes:
- Minor optimization in collision detection by ditching "instanceof"
- Added field-of-view test.
- Fixed bug with line collision when line goes backwards.
- Some docs update.
- Fixed Vector.from_angle() to be really angle and not radian. added radian in addition.
- All code had been beautified.
SSCD 1.4
SSCD 1.3
SSCD 1.3 changes:
Fixed potential bug that vector of (0, 0) turns NaN on normalize. This caused issues when trying to prevent penetration between two objects with the same center.
Fixed some javascript warnings etc.
Made fully npm compatible.
Added factor_self & factor_other to repel(), which make it possible for objects to repel each other simultaneously.
SSCD 1.2
SSCD 1.1
- Added repel() to shapes.
- Improved some performance, especially with moving objects aabb calculations.
- Fixed debug coloring bug with composite shapes.
- Added another example with resolving penetration.
- Extended Vectors API.
- Added render bounding-box functionality to all shapes.
- Fixed world render function to accept if should render grid and bounding boxes.