mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-29 15:11:54 +00:00
a16ee23adf
into trunk. Right now all the new code that fixes problems is turned off. There are three new #defines in q3map2.h: EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES, EXPERIMENTAL_SNAP_NORMAL_FIX, and EXPERIMENTAL_SNAP_PLANE_FIX. All of these are currently set to 0, which means don't enable that new code. You can easily edit these to be 1 in order to enable the new code. There are very very minor changes to the code even with these three #defines disabled. They are as follows. - In PlaneEqual() in map.c, now considering deltas equal to given epsilon values as "far enough to be different". Previously, the '<=' operation was used, now '<' is being used. - In FindFloatPlane() in map.c, considering delta equal to distanceEpsilon (for plane distance) to be sufficiently far away. Before, delta had to be strictly greater than distanceEpsilon. - VectorNormalize() in mathlib.c is more accurate now. This change itself causes at least one regression test to succeed. The previous implementation of VectorNormalize() caused excessive errors to be introduced due to sloppy arithmetic. Note, the epsilon changes account for the possibility that the epsilons are set to 0.0 on the command-line. git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@416 8a3a26a2-13c4-0310-b231-cf6edde360e5 |
||
---|---|---|
.. | ||
aselib.c | ||
aselib.h | ||
bspfile.c | ||
bspfile.h | ||
cmdlib.c | ||
cmdlib.h | ||
imagelib.c | ||
imagelib.h | ||
inout.c | ||
inout.h | ||
jpeg.c | ||
l3dslib.c | ||
l3dslib.h | ||
md4.c | ||
mutex.c | ||
mutex.h | ||
polylib.c | ||
polylib.h | ||
polyset.h | ||
qfiles.h | ||
qthreads.h | ||
scriplib.c | ||
scriplib.h | ||
surfaceflags.h | ||
threads.c | ||
trilib.c | ||
trilib.h | ||
unzip.c | ||
unzip.h | ||
vfs.c | ||
vfs.h |