#include <Solver.h>
Definition at line 240 of file Solver.h.
◆ FxDistanceConstraint()
| FxDistanceConstraint::FxDistanceConstraint |
( |
const std::shared_ptr< FxEntity > & | e1, |
|
|
const std::shared_ptr< FxEntity > & | e2, |
|
|
const FxVec2f & | anchor1, |
|
|
const FxVec2f & | anchor2 ) |
◆ anchor1_world()
| FxVec2f FxDistanceConstraint::anchor1_world |
( |
| ) |
const |
◆ anchor2_world()
| FxVec2f FxDistanceConstraint::anchor2_world |
( |
| ) |
const |
◆ evaluate()
| void FxDistanceConstraint::evaluate |
( |
float & | C, |
|
|
FxVec2f & | g1, |
|
|
FxVec2f & | g2, |
|
|
float & | gth1, |
|
|
float & | gth2, |
|
|
bool & | active ) const |
|
overridevirtual |
◆ length()
| float FxDistanceConstraint::length |
( |
| ) |
const |
◆ enabled
| bool FxDistanceConstraint::enabled = true |
◆ max_length
| float FxDistanceConstraint::max_length = 1.0f |
◆ min_length
| float FxDistanceConstraint::min_length = 0.0f |
◆ slop
| float FxDistanceConstraint::slop = 0.0f |
The documentation for this class was generated from the following file: