sofa
sofa copied to clipboard
[Type] Add NoInit constructor for Quat class
Similarly to Vec implementation, add a NoInit constructor for Quat and a type QuatNoInit<Real>
Speedup is minor compare to Mat and Vec of big size but still it makes a small diff when working with several Quat in loops.
By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if
- it builds with SUCCESS for all platforms on the CI.
- it does not generate new warnings.
- it does not generate new unit test failures.
- it does not generate new scene test failures.
- it does not break API compatibility.
- it is more than 1 week old (or has fast-merge label).
[ci-build][with-all-tests]
[ci-build][with-all-tests]