Closed PhotonBursted closed 1 week ago
Add a command which returns the "unit vector".
Perhaps we could call this to unit or normalize or something. It's equivalent to dividing by the magnitude of the vector, but that seems to be annoying to spell in Nu.
to unit
normalize
+1 for normalize
Add a command which returns the "unit vector".
Perhaps we could call this
to unit
ornormalize
or something. It's equivalent to dividing by the magnitude of the vector, but that seems to be annoying to spell in Nu.