float SLfloat
analog to GLfloat
unsigned int SLuint
analog to GLuint
string SLstring
Redefinition of standard types for platform independence.
Toplevel holder of the assets meshes, materials, textures and shaders.
Defines a standard CG material with textures and a shader program.
const SLstring & name() const
Ray class with ray and intersection properties.
SLSphere creates a sphere mesh based on SLSpheric w. 180 deg polar angle.
SLSphere(SLAssetManager *assetMgr, SLfloat radius, SLuint stacks=32, SLuint slices=32, SLstring name="sphere mesh", SLMaterial *mat=nullptr)
SLSphere creates a sphere mesh based on SLRevolver.