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