16 SLint circlePoints = 60;
20 for (
SLint i = 0; i < circlePoints; ++i)
vector< SLVec3f > SLVVec3f
SLVec3< SLfloat > SLVec3f
Toplevel holder of the assets meshes, materials, textures and shaders.
SLCircle(SLAssetManager *assetMgr, SLstring name="Circle", SLMaterial *material=nullptr)
Defines a standard CG material with textures and a shader program.
SLPolyline creates a polyline object.
void buildMesh(const SLVVec3f &points, SLbool closed=false, SLMaterial *material=nullptr)
void fromPolar(T r, T phiRAD)
Calculates the vector from polar coords r & phi in radians (-pi < phi < pi)