Fix double to float truncation warnings


QVectorND and QQuarternion operates on floats, so pass in float literals
rather than doubles.

Pick-to: 6.1
Change-Id: I6ddb6a4f0caa6e8687e718e10957b6c939a091bd
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commit430110e9a157a42ab78c2b6fcb8e2a05b9152393
parent437b1341530fb8546cf45a59128ef7f8e24fd71a
authorVolker Hilsheimer <volker.hilsheimer@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeTue, 13 Apr 2021 06:32:26 +0200