]> git.lizzy.rs Git - dragonfireclient.git/commit
Change BS constant from implicit double to float (#6286)
authorJens Rottmann <30634967+JRottm@users.noreply.github.com>
Sun, 20 Aug 2017 17:37:55 +0000 (19:37 +0200)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Sun, 20 Aug 2017 17:37:55 +0000 (19:37 +0200)
commit9d8cb510b3ad398c4fcb214704a2c3a42e944e34
tree51a1bf3985f64eac66e78cf53880186f919e2306
parentae9b5e00989756bb676429530dfe81039009001c
Change BS constant from implicit double to float (#6286)

the BS constant
implicitly promotes all position calculations it is used in to double even
though positions (= v3f) are only meant to be floats.

There are many, many similar occurrences everywhere, but I'm not willing to
hunt down all; I only fixed the little part I'm already familiar with.
src/collision.cpp
src/constants.h
src/util/numeric.h