Handbook
Glossary
cpGrooveJoint
Vocabulary
chipmunk
.
ffi
Definition
USING:
classes.struct
;
IN:
chipmunk.ffi
STRUCT:
cpGrooveJoint
{
constraint
cpConstraint
initial:
S{
cpConstraint
{
klass
f
}
{
a
f
}
{
b
f
}
{
maxForce 0.0
}
{
biasCoef 0.0
}
{
maxBias 0.0
}
{
data
f
}
}
}
{
grv_n
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
grv_a
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
grv_b
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
anchr2
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
grv_tn
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
clamp
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
}
}
}
{
k1
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
k2
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
jAcc
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
jMaxLen
cpFloat
initial:
0.0
}
{
bias
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
;
Methods
USING:
chipmunk.ffi
classes.struct
classes.struct.private
kernel
;
M:
cpGrooveJoint
clone
clone-underlying
\
cpGrooveJoint
memory>struct
;
inline
USING:
accessors
chipmunk.ffi
classes.struct
combinators.smart
;
M:
cpGrooveJoint
struct-slot-values
{
[
constraint>>
]
[
grv_n>>
]
[
grv_a>>
]
[
grv_b>>
]
[
anchr2>>
]
[
grv_tn>>
]
[
clamp>>
]
[
r1>>
]
[
r2>>
]
[
k1>>
]
[
k2>>
]
[
jAcc>>
]
[
jMaxLen>>
]
[
bias>>
]
}
cleave>array
;
inline