Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test (and slight refactor) of Vector3 normalisation
getNormalised() now implemented in terms of normalise(), rather than separate code. normalise() now returns the underlying BasicVector3 Element type rather than coercing everything to float (this would break if we had any BasicVector3<int> classes and wanted to normalise them, but we don't).
- Loading branch information
Matthew Mott
committed
Apr 2, 2021
1 parent
2f7ebf6
commit ac918cb
Showing
2 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters