dchip.cpConstraint

Undocumented in source.

Members

Aliases

cpConstraintApplyCachedImpulseImpl
alias cpConstraintApplyCachedImpulseImpl = void function(cpConstraint* constraint, cpFloat dt_coef)
Undocumented in source.
cpConstraintApplyImpulseImpl
alias cpConstraintApplyImpulseImpl = void function(cpConstraint* constraint, cpFloat dt)
Undocumented in source.
cpConstraintGetImpulseImpl
alias cpConstraintGetImpulseImpl = cpFloat function(cpConstraint* constraint)
Undocumented in source.
cpConstraintPostSolveFunc
alias cpConstraintPostSolveFunc = void function(cpConstraint* constraint, cpSpace* space)

Callback function type that gets called after solving a joint.

cpConstraintPreSolveFunc
alias cpConstraintPreSolveFunc = void function(cpConstraint* constraint, cpSpace* space)

Callback function type that gets called before solving a joint.

cpConstraintPreStepImpl
alias cpConstraintPreStepImpl = void function(cpConstraint* constraint, cpFloat dt)
Undocumented in source.

Functions

cpConstraintActivateBodies
void cpConstraintActivateBodies(cpConstraint* constraint)

@private

cpConstraintCheckCast
string cpConstraintCheckCast(string constraint, string struct_)
Undocumented in source. Be warned that the author may not have intended to support it.
cpConstraintDestroy
void cpConstraintDestroy(cpConstraint* constraint)
Undocumented in source. Be warned that the author may not have intended to support it.
cpConstraintFree
void cpConstraintFree(cpConstraint* constraint)
Undocumented in source. Be warned that the author may not have intended to support it.
cpConstraintGetImpulse
cpFloat cpConstraintGetImpulse(cpConstraint* constraint)
Undocumented in source. Be warned that the author may not have intended to support it.
cpConstraintInit
void cpConstraintInit(cpConstraint* constraint, cpConstraintClass* klass, cpBody* a, cpBody* b)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin CP_DefineConstraintStructGetter!(cpSpace*, "space", "Space")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintStructGetter!(cpBody*, "a", "A")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintStructGetter!(cpBody*, "b", "B")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintStructProperty!(cpFloat, "maxForce", "MaxForce")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintStructProperty!(cpFloat, "errorBias", "ErrorBias")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintStructProperty!(cpFloat, "maxBias", "MaxBias")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintStructProperty!(cpConstraintPreSolveFunc, "preSolve", "PreSolveFunc")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintStructProperty!(cpConstraintPostSolveFunc, "postSolve", "PostSolveFunc")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintStructProperty!(cpDataPointer, "data", "UserData")
Undocumented in source.

Mixin templates

CP_DefineConstraintGetter
mixintemplate CP_DefineConstraintGetter(string struct_, type, string member, string name)
Undocumented in source.
CP_DefineConstraintProperty
mixintemplate CP_DefineConstraintProperty(string struct_, type, string member, string name)
Undocumented in source.
CP_DefineConstraintSetter
mixintemplate CP_DefineConstraintSetter(string struct_, type, string member, string name)
Undocumented in source.
CP_DefineConstraintStructGetter
mixintemplate CP_DefineConstraintStructGetter(type, string member, string name)
Undocumented in source.
CP_DefineConstraintStructProperty
mixintemplate CP_DefineConstraintStructProperty(type, string member, string name)
Undocumented in source.
CP_DefineConstraintStructSetter
mixintemplate CP_DefineConstraintStructSetter(type, string member, string name)
Undocumented in source.

Structs

cpConstraint
struct cpConstraint

Opaque cpConstraint struct.

cpConstraintClass
struct cpConstraintClass

@private

Meta