consistently use float arithmetic in build_rotmatrix
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 17 May 2021 02:39:19 +0000 (19:39 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 29 May 2021 00:58:18 +0000 (17:58 -0700)
commit25dfcc5d3563ec3f1cdaa729128e59b5c728caab
tree7d344c35df6ee1f407e2ec25e65c5cd63a99eb77
parentd66084a303911642844a54e0a65d06e6228c2a0e
consistently use float arithmetic in build_rotmatrix

By avoiding mixing doubles and floats, we avoid ever down-converting from a
float to a double and losing precision. Squashes some -Wfloat-conversion
warnings.
cmd/smyrna/trackball.c