don't crash on bsp w/o vis don't crash with origin in the void (includes inside of structural brush)(do reset) grab point to analyse from camera position with nothing selected; grab from any objects selection too fix rendering issues read surfaces written by q3map2 correctly + faster rendering code print number of loaded drawsurfaces to console for evaluation of optimization done fix a couple of of leaks and crashes after new/delete
9 lines
164 B
C++
9 lines
164 B
C++
|
|
#include <list>
|
|
#include "mathlib.h"
|
|
|
|
class DMetaSurf;
|
|
typedef std::list<DMetaSurf*> DMetaSurfaces;
|
|
|
|
DMetaSurfaces* BuildTrace( char* filename, vec3_t v_origin );
|