Releases: ezzatron/nvector-js
Releases · ezzatron/nvector-js
v0.6.7
v0.6.6
v0.6.5
Fixed
- Updated the
package.json
repository
property so that NPM provenance will hopefully STFU and work.
v0.6.4
Fixed
- Added NPM provenance.
v0.6.3
Fixed
- Added --allow-dirty to JSR publishing command because it doesn't like that the version number is set as part of the publishing workflow.
v0.6.2
Fixed
- Excluded unnecessary files from the JSR published package.
- Restricted the Prettier version to avoid prettier/prettier#16351
v0.6.1
Fixed
- Published to JSR.
v0.6.0
Changed
- [BREAKING] Geodetic coordinates are now accepted and returned in longitude, latitude order instead of latitude, longitude order. This change brings the library in line with GeoJSON, Turf.js, and Mapbox. It's also more intuitive for most users, since the longitude can be thought of as the x-coordinate and the latitude as the y-coordinate. The following functions are affected:
fromGeodeticCoordinates
toGeodeticCoordinates
v0.5.0
Added
- Added a
sphere
function for creating spherical ellipsoids.
Changed
- [BREAKING] All exports have been renamed to clarify their purpose:
deg
->degrees
lat_long2n_E
->fromGeodeticCoordinates
Matrix3x3
->Matrix
n_E_and_wa2R_EL
->toRotationMatrixUsingWanderAzimuth
n_E2lat_long
->toGeodeticCoordinates
n_E2R_EN
->toRotationMatrix
n_EA_E_and_n_EB_E2p_AB_E
->delta
n_EA_E_and_p_AB_E2n_EB_E
->destination
n_EB_E2p_EB_E
->toECEF
p_EB_E2n_EB_E
->fromECEF
R_Ee_NP_X
->X_AXIS_NORTH
R_Ee_NP_Z
->Z_AXIS_NORTH
R_EL2n_E
->fromRotationMatrix
R_EN2n_E
->fromRotationMatrix
R2xyz
->rotationMatrixToEulerXYZ
R2zyx
->rotationMatrixToEulerZYX
rad
->radians
rotate
->transform
unit
->normalize
Vector3
->Vector
xyz2R
->eulerXYZToRotationMatrix
zyx2R
->eulerZYXToRotationMatrix
Removed
- [BREAKING] The
WGS_84_SPHERE
constant has been removed. Use thesphere
function with your chosen radius instead.
v0.4.1
Fixed
- Expanded README documentation.