model module
This module processes uniform attributes for the appropriate model
- class model.AdvancedSkyBox(app, vao_name='advanced_skybox', tex_id='skybox', pos=(0, 0, 0), rot=(0, 0, 0), scale=(1, 1, 1))[source]
Bases:
BaseModel
- class model.BaseModel(app, vao_name, tex_id, pos=(0, 0, 0), rot=(0, 0, 0), scale=(1, 1, 1))[source]
Bases:
object
- class model.Cat(app, vao_name='cat', tex_id='cat', pos=(0, 0, 0), rot=(-90, 0, 0), scale=(1, 1, 1))[source]
Bases:
ExtendedBaseModel
- class model.Cube(app, vao_name='cube', tex_id=0, pos=(0, 0, 0), rot=(0, 0, 0), scale=(1, 1, 1))[source]
Bases:
ExtendedBaseModel
- class model.ExtendedBaseModel(app, vao_name, tex_id, pos, rot, scale)[source]
Bases:
BaseModel
Subclass for an application’s main objects