Handbook
Glossary
cpSlideJoint
Vocabulary
chipmunk
.
ffi
Definition
USING:
classes.struct
;
IN:
chipmunk.ffi
STRUCT:
cpSlideJoint
{
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
}
}
}
{
min
cpFloat
initial:
0.0
}
{
max
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:
cpSlideJoint
clone
clone-underlying
\
cpSlideJoint
memory>struct
;
inline
USING:
accessors
chipmunk.ffi
classes.struct
combinators.smart
;
M:
cpSlideJoint
struct-slot-values
{
[
constraint>>
]
[
anchr1>>
]
[
anchr2>>
]
[
min>>
]
[
max>>
]
[
r1>>
]
[
r2>>
]
[
n>>
]
[
nMass>>
]
[
jnAcc>>
]
[
jnMax>>
]
[
bias>>
]
}
cleave>array
;
inline