#include <Buoyance.h>
|
float | computeVolume (Ogre::Vector3 o, Ogre::Vector3 a, Ogre::Vector3 b, Ogre::Vector3 c) |
|
Ogre::Vector3 | computePressureForceSub (Ogre::Vector3 a, Ogre::Vector3 b, Ogre::Vector3 c, Ogre::Vector3 vel, int type) |
|
Ogre::Vector3 | computePressureForce (Ogre::Vector3 a, Ogre::Vector3 b, Ogre::Vector3 c, Ogre::Vector3 vel, int type) |
|
Definition at line 30 of file Buoyance.h.
◆ anonymous enum
Enumerator |
---|
BUOY_NORMAL | |
BUOY_DRAGONLY | |
BUOY_DRAGLESS | |
Definition at line 39 of file Buoyance.h.
◆ Buoyance()
◆ ~Buoyance()
◆ computeNodeForce()
void Buoyance::computeNodeForce |
( |
node_t * |
a, |
|
|
node_t * |
b, |
|
|
node_t * |
c, |
|
|
bool |
doUpdate, |
|
|
int |
type |
|
) |
| |
◆ computePressureForce()
Vector3 Buoyance::computePressureForce |
( |
Ogre::Vector3 |
a, |
|
|
Ogre::Vector3 |
b, |
|
|
Ogre::Vector3 |
c, |
|
|
Ogre::Vector3 |
vel, |
|
|
int |
type |
|
) |
| |
|
private |
◆ computePressureForceSub()
Vector3 Buoyance::computePressureForceSub |
( |
Ogre::Vector3 |
a, |
|
|
Ogre::Vector3 |
b, |
|
|
Ogre::Vector3 |
c, |
|
|
Ogre::Vector3 |
vel, |
|
|
int |
type |
|
) |
| |
|
private |
◆ computeVolume()
float Buoyance::computeVolume |
( |
Ogre::Vector3 |
o, |
|
|
Ogre::Vector3 |
a, |
|
|
Ogre::Vector3 |
b, |
|
|
Ogre::Vector3 |
c |
|
) |
| |
|
inlineprivate |
◆ ripplep
◆ sink
◆ splashp
◆ update
bool RoR::Buoyance::update |
|
private |
The documentation for this class was generated from the following files: