com.artromskiy.deltamaths
v0.0.15
Published
DeltaMaths vectors, matrices and fixed-point maths with Unity casts and Inspector support.
Readme
DeltaMaths for Unity
Add the Artromskiy scoped registry and the DeltaMaths dependency to your Unity 6.3 or newer project. If you already use DeltaECS, reuse its scoped registry.
{
"scopedRegistries": [
{
"name": "Artromskiy",
"url": "https://registry.npmjs.org",
"scopes": ["com.artromskiy"]
}
],
"dependencies": {
"com.artromskiy.deltamaths": "0.0.15"
}
}UnityEngine and Unity.Mathematics vector conversions are included. Float vector conversions are implicit and fixed-point vector conversions are explicit. Remove the DeltaMaths NuGetForUnity package before switching to UPM so the project loads a single DeltaMaths assembly.
The Inspector displays the components of serializable bool, int, uint, float, double and fixed-point vectors and quaternions. Fixed-point fields show their numeric values. Matrices expose their columns as vectors. Unity serialization skips the readonly storage used by half-precision components.
