ClanSoft logo
ClanSoft logo

    CL_Object3D

The abstract interface to a "physical" 3D object in the game.

Description

This class can be compared to a CL_Surface, CL_Texture, CL_Font, etc etc, but just for 3D objects instead.

To construct a 3D object, either use the static load() function in in this class, or create an inheriated variant of this class. Eg. the 3D Studio format loader.

Class members

static CL_Object3D *load(
         const char *res_id,
        CL_ResourceManager *manager)
static CL_Object3D *load( CL_InputSource *input, CL_ResourceManager *manager)
static CL_Object3D *create( CL_Object3DProvider *provider, CL_Vector init_scale, CL_Vector init_pos, CL_Vector init_dir, CL_Vector init_up, bool delete_provider=false)
CL_Object3D()
~CL_Object3D()
void show( const CL_Viewpoint &position, CL_ClipInfo &clipinfo, float scale=1.0)
CL_Vector init_scale
CL_Vector init_pos
CL_Vector init_dir
CL_Vector init_up
Object3D_Data data

See Also

None


Back to index



This page was built using the Perceps documentation system.