From: Norman K. <no...@cv...> - 2000-01-02 17:21:47
|
Date: Sunday January 2, 2000 @ 9:20 Author: norman Update of /cvsroot/crystal/CS/libs/csengine In directory cvs1.i.sourceforge.net:/tmp/cvs-serv27435/libs/csengine Modified Files: camera.cpp Log Message: Added a farplane to csCamera object such that everything is clipped to that plane. Default is no clipping at this plane. To use this do something like this to your main csView when you setting it up: view = new csView( world, G3D ); ... view->GetCamera()->SetFarPlane( fp = new csPlaneClip(10) ); // clip everything farther than 10 view->GetCamera()->UseFarPlane( true ); |