SetCircleAccuracy

static void SetCircleAccuracy(
float accuracy );

Sets the accuracy of the circle drawing functions. The value should be between 0.0 and 1.0 but it should never be zero.

The more accuracy, the better the circles will generally look but rendering them will be slower. This setting can be overridden by passing a different accuracy value to the circle drawing functions.

Examples

// Set a rather low circle accuracy //
Settings::SetCircleAccuracy0.2 );

// Set a very high circle accuracy //
Settings::SetCircleAccuracy0.7 );


Other functions of the class Settings
SetAntialiasing
Turns the anti-aliasing on or off
SetCircleAccuracy
Sets the accuracy of the circle drawing functions
SetCollisionPolyAccuracy
Sets the accuracy of the generated collision polygons
SetCollisionPolyAlphaLimit
Sets the maxium alpha value which is considered transparent by the collision polygon generation

Advanced functions

SetTextureMapping
Turns the OpenGL texture mapping on or off
TextureMappingUsed
Returns true if texture mapping is turned on
SetOrthographicProjection
Sets the orthographic projection as the active OpenGL projection mode
RestoreOldProjection
Restores the old projection mode
StoreMemoryBitmaps
Choose the Bitmaps to be stored in the memory
MemoryBitmapsStored
Returns true if the Bitmaps are stored in the memory


Questions about SetCircleAccuracy? Click here.