Releases: CookieShade/ludomath
Releases · CookieShade/ludomath
Version 1.1.1
Quick fixes, technically breaking. But only technically.
Changes:
- Remove underflow panics from inv_sqrt - could previously panic on large negative numbers
- Change slerp to always take the shortest path - also nearly doubled performance as a bonus
Version 1.1
Nothing dramatic, just a few extra functions.
Changes:
- Added
Point::lerp
,is_in_rect
, andclamp_to_rect
, like what already existed onVector
- Added
Rotation::slerp
andnlerp
, two ways of interpolating rotations, as well asto_vector
- Added
num::inv_sqrt
, a fast software approximation of 1/sqrt(x) - Minor documentation tweaks