added a Mod_BuildNormals function to accelerate vertex lighting which doesn't need...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 23 Sep 2004 01:44:33 +0000 (01:44 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 23 Sep 2004 01:44:33 +0000 (01:44 +0000)
commit1ffce651075275f57c7e04b443ea6f1fd748fd98
tree2dd6c1d71dc2b55451ed326a779554e5ec722269
parent14cd78c64d15dc040d555f5f92fd273f37f190bc
added a Mod_BuildNormals function to accelerate vertex lighting which doesn't need texture vectors
moved vertex blending function from gl_models.c to model_alias.c and renamed accordingly
model loader now compiles frame zero into raw arrays because most models are not animated, this speeds up non-animated models, and anything else idling on frame 0, this eliminates vertex processing in many cases

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4535 d7cf8633-e32d-0410-b094-e92efae38249
gl_models.c
model_alias.c
model_alias.h
model_shared.c
model_shared.h