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.
SLRevolver is an SLMesh object built out of revolving points.
SLSphere creates a sphere mesh based on SLRevolver.
SLfloat _thetaStartDEG
Polar start angle 0-180deg.
SLfloat _thetaEndDEG
Polar end angle 1-180deg.
SLfloat _radius
radius of the sphere
SLSpheric(SLAssetManager *assetMgr, SLfloat radius, SLfloat thetaStartDEG, SLfloat thetaEndDEG, SLuint stacks=32, SLuint slices=32, SLstring name="spheric mesh", SLMaterial *mat=nullptr)