From: Jorrit T. <jo...@us...> - 2001-04-26 13:30:05
|
Date: Thursday April 26, 2001 @ 6:30 Author: jorrit Update of /cvsroot/crystal/CS/include/csengine In directory usw-pr-cvs1:/tmp/cvs-serv10968/include/csengine Modified Files: meshobj.h Log Message: - Did an optimization in the engine. When a mesh is marked as invisible (CS_ENTITY_INVISIBLE) csEngine::NextFrame() will not process it. - Did an additional optimization so that mesh objects will only call NextFrame() as soon as they are really drawn on screen. i.e. as soon as DrawTest() returns true. This should increase global speed of the engine if there are many particle systems and sprites in the world but they are all currently invisible. |