SimMath version 1.4.1
pspeed42
released this
31 Mar 17:01
·
59 commits
to master
since this release
Incremental release, minor changes and a few new methods and a new class.
Change log:
- Added some copy constructors to Vec3d, Vec4d, and Quatd.
- Added getters for the start/end pos, rotation, visibility of
PositionTransition3d and PositionTransition3f - Added Grid.worldToId(Vec3d), Grid.worldToId(double, double, double)
and Grid.cellToId(Vec3i) - Added Vec3d.set(Vec3i)
- Added GridCell.getId() that maps to Grid.cellToId()
- Added Vec3d.toVec3i(), floor(), and ceil() for Vec3d to Vec3i conversion.
- Added Grid.getContainingCell(Vec3i)
- Added Vec3d.distance(x,y,z) and Vec3d.distanceSq(x,y,z)
- Added Vec3i.length() and Vec3i.lengthSq()
- Added a Vec3d.ZERO 'constant'
- Added Rayd, a double-precision Ray class.