Handbook
Glossary
cpPinJoint
Vocabulary
chipmunk
.
ffi
Definition
USING:
classes.struct
;
IN:
chipmunk.ffi
STRUCT:
cpPinJoint
{
constraint
cpConstraint
initial:
S{
cpConstraint
{
klass
f
}
{
a
f
}
{
b
f
}
{
maxForce 0.0
}
{
biasCoef 0.0
}
{
maxBias 0.0
}
{
data
f
}
}
}
{
anchr1
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
anchr2
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
dist
cpFloat
initial:
0.0
}
{
r1
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
r2
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
n
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
nMass
cpFloat
initial:
0.0
}
{
jnAcc
cpFloat
initial:
0.0
}
{
jnMax
cpFloat
initial:
0.0
}
{
bias
cpFloat
initial:
0.0
}
;
Methods
USING:
chipmunk.ffi
classes.struct
classes.struct.private
kernel
;
M:
cpPinJoint
clone
clone-underlying
\
cpPinJoint
memory>struct
;
inline
USING:
accessors
chipmunk.ffi
classes.struct
combinators.smart
;
M:
cpPinJoint
struct-slot-values
{
[
constraint>>
]
[
anchr1>>
]
[
anchr2>>
]
[
dist>>
]
[
r1>>
]
[
r2>>
]
[
n>>
]
[
nMass>>
]
[
jnAcc>>
]
[
jnMax>>
]
[
bias>>
]
}
cleave>array
;
inline