10.01.2015, 14:21
Quote:
The floats you are saving are not precise in the first place - no floats are. If you really care, see IEEE-754 for more information.
|
Example:
In-game cordinates:
X, Y, Z, RX, RY, RZ, (when i create the objects from the server)
-77.943626, 1.293159, 3.117187, -1.000000, -1.000000, -1.000000
In table with DECIMAL(10,6):
-77.944000, 1.293000, 3.117000, -1.000000, -1.000000, -1.000000
You see, they are pretty similar, but with that small change objects aren't created..