53 void cull ( sgFrustum *f, sgMat4 m,
int test_needed )
55 int cull_result = cull_test ( f, m, test_needed ) ;
57 if ( cull_result == SSG_OUTSIDE )
63 for ( ssgEntity *e = getKid ( 0 ) ; e != NULL ; e = getNextKid() )
64 e ->
cull ( f, m, cull_result != SSG_INSIDE ) ;
71 if ( cb_type == SSG_CALLBACK_PREDRAW )
85 ssgTexture*
createTexture(
char* tfname,
int wrapu = TRUE,
int wrapv = TRUE,
int mipmap = TRUE) {
87 return ssgLoaderOptions::createTexture(tfname, wrapu, wrapv, mipmap) ;
92 ulFindFile ( path, model_dir, fname, NULL ) ;
97 ulFindFile ( path, texture_dir, fname, NULL ) ;
virtual void makeTexturePath(char *path, const char *fname) const
ssgTexture * createTexture(char *tfname, int wrapu=TRUE, int wrapv=TRUE, int mipmap=TRUE)
bool doMipMap(const char *tfname, int mipmap)
virtual void makeModelPath(char *path, const char *fname) const
void cull(sgFrustum *f, sgMat4 m, int test_needed)
void setCallback(int cb_type, ssgCallback cb)