[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Adonthell-devel] New physics engine for 0.4, test 2
From: |
Alexandre Courbot |
Subject: |
Re: [Adonthell-devel] New physics engine for 0.4, test 2 |
Date: |
Sun, 29 Sep 2002 21:18:22 +0200 |
> Doh! This is bad. I'm using large shifts to gain precision during the
> line intersection algorithm, but it look like I'm shifting too much
> and it sometimes overflow. Well, I'll reduce the shift and hope the
> precision will still be good. Floats have this advantage that
> precision is always very good, but I'd like to avoid using them as
> much as possible.
>
> Anyway, this is nothing more than a pre-version! ^_^'
Uh, I forgot: I can't reproduce your overflow (shame on me), so can you
please test with this new version one of these days? Thanks!
Alex.
--
http://www.gnurou.org
test_intersec2.py
Description: Binary data