Game Development Community

Does t2dVectorAdd produce the same result on all machines?

by John Klimek · in Torque Game Builder · 10/02/2006 (1:37 pm) · 0 replies

I'm trying to figure out a way to get consistent results across all machines and have learned that a lot of functions cannot be used (in the normal way) because of floating-point calculation errors (eg. rounding).

So I'm wondering, will t2dVectorAdd produce the exact same numbers on all machines?

Maybe a better question would be, does t2dVectorAdd use floating-point math or fixed-point math? (NOTE: I don't really know the difference between them, but I think fixed-point math ensures consistent results across ALL platforms; is this correct?)

As always, thanks for your help.

- John