Handbook
Glossary
cpSimpleMotor
Vocabulary
chipmunk
.
ffi
Definition
USING:
classes.struct
;
IN:
chipmunk.ffi
STRUCT:
cpSimpleMotor
{
constraint
cpConstraint
initial:
S{
cpConstraint
{
klass
f
}
{
a
f
}
{
b
f
}
{
maxForce 0.0
}
{
biasCoef 0.0
}
{
maxBias 0.0
}
{
data
f
}
}
}
{
rate
cpFloat
initial:
0.0
}
{
iSum
cpFloat
initial:
0.0
}
{
jAcc
cpFloat
initial:
0.0
}
{
jMax
cpFloat
initial:
0.0
}
;
Methods
USING:
chipmunk.ffi
classes.struct
classes.struct.private
kernel
;
M:
cpSimpleMotor
clone
clone-underlying
\
cpSimpleMotor
memory>struct
;
inline
USING:
accessors
chipmunk.ffi
classes.struct
combinators.smart
;
M:
cpSimpleMotor
struct-slot-values
{
[
constraint>>
]
[
rate>>
]
[
iSum>>
]
[
jAcc>>
]
[
jMax>>
]
}
cleave>array
;
inline