|
le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
|
#include <solid.h>
Public Member Functions | |
| LeSolid () | |
| ~LeSolid () | |
| void | init (const LeVertex &pos) |
| void | stop () |
| void | configure (float mass, float radius) |
| void | glueMoveAxis (LeVertex axis) |
| void | glueRotateAxis (LeVertex axis) |
| void | collideSolid (LeVertex contact, LeSolid &collider) |
| void | collideHard (LeVertex contact, LeVertex normal, float rigidity) |
| void | applyFriction (LeVertex normal, float friction) |
| void | applyForce (LeVertex force) |
| void | applyForceRight (float force) |
| void | applyForceUp (float force) |
| void | applyForceBack (float force) |
| void | applyTorque (LeVertex torque) |
| void | applyTorqueRight (float torque) |
| void | applyTorqueUp (float torque) |
| void | applyTorqueBack (float torque) |
| void | applyForcePoint (LeVertex point, LeVertex force) |
| void | applyTorquePoint (LeVertex point, LeVertex torque) |
| void | update (float dt) |
Public Attributes | |
| float | adhesion |
| float | rigidity |
| float | gravity |
| float | groundLevel |
| float | groundFriction |
| LE_SOLID_SYSTEM | fluidSystem |
| LeVertex | fluid1Move |
| LeVertex | fluid1Rotate |
| LeVertex | fluid2Move |
| LeVertex | fluid2Rotate |
| LeVertex | glueMove |
| LeVertex | glueRotate |
| LeVertex | pos |
| LeVertex | posSpeed |
| LeVertex | posAccel |
| LeVertex | rot |
| LeVertex | rotSpeed |
| LeVertex | rotAccel |
| LeVertex | rightVector |
| LeVertex | upVector |
| LeVertex | backVector |
| LeSolid::LeSolid | ( | ) |
| LeSolid::~LeSolid | ( | ) |
| void LeSolid::applyForce | ( | LeVertex | force | ) |
| void LeSolid::applyForceBack | ( | float | force | ) |
| void LeSolid::applyForceRight | ( | float | force | ) |
| void LeSolid::applyForceUp | ( | float | force | ) |
| void LeSolid::applyFriction | ( | LeVertex | normal, |
| float | friction | ||
| ) |
| void LeSolid::applyTorque | ( | LeVertex | torque | ) |
| void LeSolid::applyTorqueBack | ( | float | torque | ) |
| void LeSolid::applyTorqueRight | ( | float | torque | ) |
| void LeSolid::applyTorqueUp | ( | float | torque | ) |
| void LeSolid::configure | ( | float | mass, |
| float | radius | ||
| ) |
| void LeSolid::glueMoveAxis | ( | LeVertex | axis | ) |
| void LeSolid::glueRotateAxis | ( | LeVertex | axis | ) |
| void LeSolid::init | ( | const LeVertex & | pos | ) |
| void LeSolid::stop | ( | ) |
| void LeSolid::update | ( | float | dt | ) |
| float LeSolid::adhesion |
| LeVertex LeSolid::backVector |
| LeVertex LeSolid::fluid1Move |
| LeVertex LeSolid::fluid1Rotate |
| LeVertex LeSolid::fluid2Move |
| LeVertex LeSolid::fluid2Rotate |
| LE_SOLID_SYSTEM LeSolid::fluidSystem |
| LeVertex LeSolid::glueMove |
| LeVertex LeSolid::glueRotate |
| float LeSolid::gravity |
| float LeSolid::groundFriction |
| float LeSolid::groundLevel |
| LeVertex LeSolid::pos |
| LeVertex LeSolid::posAccel |
| LeVertex LeSolid::posSpeed |
| LeVertex LeSolid::rightVector |
| float LeSolid::rigidity |
| LeVertex LeSolid::rot |
| LeVertex LeSolid::rotAccel |
| LeVertex LeSolid::rotSpeed |
| LeVertex LeSolid::upVector |
1.8.10