All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v0.6.7 - 2024-09-18
- Fixed an incorrect bugs URL in the
package.json
file.
v0.6.6 - 2024-09-14
- Checking that releases are still possible with the new
repository
field inpackage.json
.
v0.6.5 - 2024-06-11
- Updated the
package.json
repository
property so that NPM provenance will hopefully STFU and work.
v0.6.4 - 2024-06-11
- Added NPM provenance.
v0.6.3 - 2024-06-11
- 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 - 2024-06-11
- Excluded unnecessary files from the JSR published package.
- Restricted the Prettier version to avoid prettier/prettier#16351
v0.6.1 - 2024-06-11
- Published to JSR.
v0.6.0 - 2024-05-31
- [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 - 2024-05-28
- Added a
sphere
function for creating spherical ellipsoids.
- [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
- [BREAKING] The
WGS_84_SPHERE
constant has been removed. Use thesphere
function with your chosen radius instead.
v0.4.1 - 2024-05-08
- Expanded README documentation.
v0.4.0 - 2024-05-08
- Added
n_E_and_wa2R_EL
function. - Added
R_EL2n_E
andR_EN2n_E
functions. - Added
R2xyz
,R2zyx
,xyz2R
, andzyx2R
functions. - Added
deg
andrad
functions. - Added
apply
,cross
,dot
,norm
, andunit
functions. - Added
multiply
andtranspose
functions. - Added
R_Ee_NP_X
andR_Ee_NP_Z
rotation matrix constants. - Added
GRS_80
,WGS_72
,WGS_84
, andWGS_84_SPHERE
ellipsoid constants. - Added
Ellipsoid
,Matrix3x3
, andVector3
types.
- Renamed
lat_lon2n_E
function tolat_long2n_E
. - Renamed
n_E2lat_lon
function ton_E2lat_long
. - Renamed
rotateVector3
function torotate
.
- Removed
unrotateVector3
function. - Removed
sub
function.
v0.3.0 - 2024-04-28
- Added the
n_E2R_EN
function. - Added the
n_EA_E_and_n_EB_E2p_AB_E
function. - Added the
n_EA_E_and_p_AB_E2n_EB_E
function. - Added the
n_EB_E2p_EB_E
function. - Added the
p_EB_E2n_EB_E
function. - Added the
rotateVector3
function. - Added the
unrotateVector3
function.
v0.2.0 - 2024-04-26
- Added
R_Ee
rotation matrix support to thelat_lon2n_E
andn_E2lat_lon
functions.
- The
n_E2lat_lon
function now accepts ann_E
vector instead of individualx
,y
, andz
arguments.
v0.1.2 - 2023-09-30
- Renamed package to avoid confusion with the existing
n-vector
package.
v0.1.1 - 2023-09-30
- Fixed package publishing workflow.
v0.1.0 - 2023-09-30
- Initial release.