opal::globals Namespace Reference

A namespace containing globally useful parameters. More...


Variables

const unsigned int maxMaxContacts = 128
const real metalHardness = (real)1.0
const real metalFriction = (real)0.7
const real metalBounciness = (real)0.05
const real metalDensity = (real)1.0
const real woodHardness = (real)0.8
const real woodFriction = (real)1.0
const real woodBounciness = (real)0.15
const real woodDensity = (real)0.2
const real rubberHardness = 0
const real rubberFriction = (real)1.0
const real rubberBounciness = (real)1.0
const real rubberDensity = (real)0.4
const real iceHardness = (real)1.0
const real iceFriction = 0
const real iceBounciness = (real)0.05
const real iceDensity = (real)0.25
const Material metalMaterial (metalHardness, metalFriction, metalBounciness, metalDensity)
const Material woodMaterial (woodHardness, woodFriction, woodBounciness, woodDensity)
const Material rubberMaterial (rubberHardness, rubberFriction, rubberBounciness, rubberDensity)
const Material iceMaterial (iceHardness, iceFriction, iceBounciness, iceDensity)
const real OPAL_PI = ( real ) 3.14159265358979323846
const real OPAL_HALF_PI = ( real ) 1.57079632679489661923
const real OPAL_ONE_THIRD = ( real ) 0.33333333333333333333
const real OPAL_EPSILON = ( real ) 0.000001


Detailed Description

A namespace containing globally useful parameters.

Variable Documentation

const real opal::globals::iceBounciness = (real)0.05
 

Definition at line 266 of file Defines.h.

const real opal::globals::iceDensity = (real)0.25
 

Definition at line 267 of file Defines.h.

const real opal::globals::iceFriction = 0
 

Definition at line 265 of file Defines.h.

const real opal::globals::iceHardness = (real)1.0
 

Definition at line 264 of file Defines.h.

const Material opal::globals::iceMaterial(iceHardness, iceFriction, iceBounciness, iceDensity)
 

const unsigned int opal::globals::maxMaxContacts = 128
 

The highest value that can be used for the Simulator's max contacts parameter.

Definition at line 245 of file Defines.h.

Referenced by opal::ode_hidden::internal_collisionCallback(), and opal::Simulator::setMaxContacts().

const real opal::globals::metalBounciness = (real)0.05
 

Definition at line 250 of file Defines.h.

const real opal::globals::metalDensity = (real)1.0
 

Definition at line 251 of file Defines.h.

const real opal::globals::metalFriction = (real)0.7
 

Definition at line 249 of file Defines.h.

const real opal::globals::metalHardness = (real)1.0
 

Definition at line 248 of file Defines.h.

const Material opal::globals::metalMaterial(metalHardness, metalFriction, metalBounciness, metalDensity)
 

const real opal::globals::OPAL_EPSILON = ( real ) 0.000001
 

Definition at line 47 of file OpalMath.h.

Referenced by opal::areEqual().

const real opal::globals::OPAL_HALF_PI = ( real ) 1.57079632679489661923
 

Definition at line 45 of file OpalMath.h.

Referenced by opal::Matrix44r::getEulerXYZ().

const real opal::globals::OPAL_ONE_THIRD = ( real ) 0.33333333333333333333
 

Definition at line 46 of file OpalMath.h.

const real opal::globals::OPAL_PI = ( real ) 3.14159265358979323846
 

Definition at line 44 of file OpalMath.h.

Referenced by opal::degToRad(), and opal::radToDeg().

const real opal::globals::rubberBounciness = (real)1.0
 

Definition at line 261 of file Defines.h.

const real opal::globals::rubberDensity = (real)0.4
 

Definition at line 262 of file Defines.h.

const real opal::globals::rubberFriction = (real)1.0
 

Definition at line 260 of file Defines.h.

const real opal::globals::rubberHardness = 0
 

Definition at line 259 of file Defines.h.

const Material opal::globals::rubberMaterial(rubberHardness, rubberFriction, rubberBounciness, rubberDensity)
 

const real opal::globals::woodBounciness = (real)0.15
 

Definition at line 256 of file Defines.h.

const real opal::globals::woodDensity = (real)0.2
 

Definition at line 257 of file Defines.h.

const real opal::globals::woodFriction = (real)1.0
 

Definition at line 255 of file Defines.h.

const real opal::globals::woodHardness = (real)0.8
 

Definition at line 254 of file Defines.h.

const Material opal::globals::woodMaterial(woodHardness, woodFriction, woodBounciness, woodDensity)
 


Generated on Tue May 16 17:49:59 2006 for OPAL by  doxygen 1.4.6-NO