#include <PVLE/Export.h>
#include <osg/Vec3>
#include <PVLE/Physics/SurfaceParams.h>
Go to the source code of this file.
Namespaces | |
namespace | Physics |
Physics computations and wraping functionalities. | |
Functions | |
PVLE_EXPORT Geom * | Physics::createCanonicalBox (World *pPhyWorld, const osg::Vec3 &size=osg::Vec3(1, 1, 1), const float mass=1, const SurfaceParams &surfaceParam=Materials::DEFAULT) |
Creates a "standard" box geom with a body. | |
PVLE_EXPORT Geom * | Physics::createCanonicalSphere (World *pPhyWorld, const float radius=1, const float mass=1, const SurfaceParams &surfaceParam=Materials::DEFAULT) |
Creates a "standard" sphere geom with a body. | |
PVLE_EXPORT Geom * | Physics::createCanonicalCapsule (World *pPhyWorld, const float radius=1, const float length=1, const float mass=1, const SurfaceParams &surfaceParam=Materials::DEFAULT) |
Creates a "standard" capsule geom with a body. | |
PVLE_EXPORT Geom * | Physics::createCanonicalCylinder (World *pPhyWorld, const float radius=1, const float length=1, const float mass=1, const SurfaceParams &surfaceParam=Materials::DEFAULT) |
Creates a "standard" cylinder geom with a body. | |
PVLE_EXPORT Geom * | Physics::createCanonicalBoxGeom (const osg::Vec3 &size=osg::Vec3(1, 1, 1), const SurfaceParams &surfaceParam=Materials::DEFAULT) |
Creates a "standard" box geom. | |
PVLE_EXPORT Geom * | Physics::createCanonicalSphereGeom (const float radius=1, const SurfaceParams &surfaceParam=Materials::DEFAULT) |
Creates a "standard" sphere geom. | |
PVLE_EXPORT Geom * | Physics::createCanonicalCapsuleGeom (const float radius=1, const float length=1, const SurfaceParams &surfaceParam=Materials::DEFAULT) |
Creates a "standard" capsule geom. | |
PVLE_EXPORT Geom * | Physics::createCanonicalCylinderGeom (const float radius=1, const float length=1, const SurfaceParams &surfaceParam=Materials::DEFAULT) |
Creates a "standard" cylinder geom. |
Definition in file Physics/Utility.h.