Mail Archives: djgpp/1998/05/09/16:47:02
I've a problem:
I'm working on a game, which uses "float"-type for
x- and y-coordinates of an object. Sometimes the
object starts moving very, er, bulky, and i found out,
this is the case, when either y or x coordinate go
over 100000; the larger, the more bulky the movement.
I'm now sure this has to do with the float-type, but
it's very strange, because there occurs no other
error, i.e. the position always is correct, even with
large numbers, just it moves not smoothly any more.
I would like it very much, if somebody could
explain to me how DJGPP's float-type works.
(also if it's the i86's float-type)
many thanks in advance,
Elias Pschernig
- Raw text -