[x] Physics
-> Not all the quantities may always be possible to cover with just a single universal number type, though!
Model:
[x] Object (World::Body, a.k.a. Entity -- this mess should be resolved! Not very easy though...)
[x] World
[x] Emitter, SkyPrinter
[x] The camera coordinates have been kept float!
[x] And time, too.
[x] The obj. monitor HUD breaks with double, too! It uses the stof lambda, which seems to err out (on std::to_chars) with doubles, even though its templated (auto)! The 15-char output buf. limit was too small for doubles.
Note: making the model data templatized affects Save/Load! -> #561!
The serialized format should perhaps be a generously (not excessively -- there could be a versioned variant (extension) for extra precision!) oversized one, converted to/fro on in/out.
Right now everything is just
float
.[x] Math
[x] Physics -> Not all the quantities may always be possible to cover with just a single universal number type, though!
Model:
World::Body
, a.k.a.Entity
-- this mess should be resolved! Not very easy though...)[x] The camera coordinates have been kept
float
![x] And time, too.
double
, too! It uses thestof
lambda, which seems to err out (onstd::to_chars
) with doubles, even though its templated (auto
)! The 15-char output buf. limit was too small for doubles.Note: making the model data templatized affects Save/Load! -> #561!
The serialized format should perhaps be a generously (not excessively -- there could be a versioned variant (extension) for extra precision!) oversized one, converted to/fro on in/out.