dmech v0.3.1 (2017-11-12T11:54:41Z)
Home
Dub
Repo
HingeConstraint
dmech
constraint
Undocumented in source.
class
HingeConstraint :
Constraint
{
AxisAngleConstraint
aac
;
BallConstraint
bc
;
this
(RigidBody body1, RigidBody body2, Vector3f anchor1, Vector3f anchor2, Vector3f axis);
void
prepare
(double dt);
void
step
();
~this
();
void
free
();
}
Constructors
this
this
(RigidBody body1, RigidBody body2, Vector3f anchor1, Vector3f anchor2, Vector3f axis)
Undocumented in source.
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
free
void
free
()
Undocumented in source. Be warned that the author may not have intended to support it.
prepare
void
prepare
(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
step
void
step
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
aac
AxisAngleConstraint
aac
;
Undocumented in source.
bc
BallConstraint
bc
;
Undocumented in source.
Inherited Members
From Constraint
body1
RigidBody
body1
;
Undocumented in source.
body2
RigidBody
body2
;
Undocumented in source.
prepare
void
prepare
(double delta)
Undocumented in source.
step
void
step
()
Undocumented in source.
Meta
Source
See Implementation
dmech
constraint
classes
AngleConstraint
AxisAngleConstraint
BallConstraint
Constraint
DistanceConstraint
HingeConstraint
PrismaticConstraint
SliderConstraint