# Wishful thinking

Joe Shaw (joeshaw@eskimo.com)
Wed, 17 Jan 1996 10:54:58 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    Intially, this is what we did. The primary problem with this is the
    trigonomic functions from cartesian coordinates to polar coordinates. You
    lose a lot of precision when having to deal with integers in this case.
    And saying that polar coordinates aren't important, etc, is unreasonable.
    Another problem we faced is calculating distance, sqrt((x*x)+(y*y)+(z*z)).
    If the X, Y, or Z coordinate is greater than sqrt($maxint/3), then we have
    problems.

    For piloting an object through space, integers simply do not suffice.

    Joe