3 ms·
oh... also, sine table isn't just a performance thing. Hedgewars does fixed point custom math for deterministic lockstep, so keeps the math simple and predicta
by capitainenemo 3y ago
oh... also, sine table isn't just a performance thing. Hedgewars does fixed point custom math for deterministic lockstep, so keeps the math simple and predictable on various compilers/hardware.
- nitwit005 3y agoThat's something I'd wondered about with games that require determinism. Seems fairly challenging to deal with for that sort of game.
- capitainenemo 3y agohttps://nicolas.brodu.net/en/programmation/streflop/index.html https://nicolas.brodu.net/en/programmation/streflop/index.ht... is apparently pretty reliable, but yeah, it's a big problem. Spring and 0AD both struggled with it too.