[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: control that floating point [was: Re: single precision]
- From: "John Paquin" <jpaquin@...>
- Date: Mon, 8 Mar 2004 12:10:16 -0500
This is a little off topic, but I thought I'd add a little note on
precision.
If you're using Direct3d, the default behavior will *definitely* trash the
FPU status word (specifically, it changes the precision to 24 bits for
speed). If you're using doubles, you *must* init your d3d device with
FPU_PRESERVE.
I chose to change Lua to use floats rather than change the FPU back and
forth.