quakeforge/libs/models
Bill Currie 4f13d19b7e Optimize edges_intersect().
I found wolfram's line-line intersection page and noticed their equation
for the time of intersection was rather different to mine. After analyzing
the differences, it turns out they produce exactly the same results (when
the lines are coplanar), but their method allows me to eliminate one dot
product (4->3). Not only that, but it turns out that their method works
equally well for skew lines (ie, non-coplanar).

mine:
  CxA.CxA
  -------
  CxA.AxB

theirs:
  CxA.AxB
  -------
  AxB.AxB
2011-12-07 10:35:58 +09:00
..
alias Print the name and texture number for model skins. 2011-09-26 13:03:53 +09:00
brush Rename mplane_t to plane_t and clean up the mess. 2011-11-28 20:54:34 +09:00
sprite Use AM_CFLAGS instead of CFLAGS. 2011-05-10 12:44:44 +09:00
test Fail properly when the portals are bogus. 2011-12-06 20:48:31 +09:00
clip_hull.c Rename mplane_t to plane_t and clean up the mess. 2011-11-28 20:54:34 +09:00
gl_model_fullbright.c Rename Sys_DPrintf to Sys_MaskPrintf. 2010-11-26 16:19:26 +09:00
Makefile.am Add code to rebuild the bsp brushes. 2011-11-28 20:54:35 +09:00
model.c Rename Sys_DPrintf to Sys_MaskPrintf. 2010-11-26 16:19:26 +09:00
null_model.c Use LoadBSPMem to load brush models. 2010-10-13 20:52:05 +09:00
portal.c Don't normalize the portal edge vectors. 2011-11-28 20:56:20 +09:00
trace.c Optimize edges_intersect(). 2011-12-07 10:35:58 +09:00
winding.c Use a saner "infinity". 2011-12-06 20:50:09 +09:00