Handbook
Glossary
cpSegmentShape
Vocabulary
chipmunk
.
ffi
Definition
USING:
classes.struct
;
IN:
chipmunk.ffi
STRUCT:
cpSegmentShape
{
shape
cpShape
initial:
S{
cpShape
{
klass
f
}
{
body
f
}
{
bb
S{
cpBB
{
l 0.0
}
{
b 0.0
}
{
r 0.0
}
{
t 0.0
}
}
}
{
sensor 0
}
{
e 0.0
}
{
u 0.0
}
{
surface_v
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
data
f
}
{
collision_type 0
}
{
group 0
}
{
layers 0
}
{
hashid 0
}
}
}
{
a
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
b
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
n
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
r
cpFloat
initial:
0.0
}
{
ta
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
tb
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
{
tn
cpVect
initial:
S{
cpVect
{
x 0.0
}
{
y 0.0
}
}
}
;
Methods
USING:
chipmunk.ffi
classes.struct
classes.struct.private
kernel
;
M:
cpSegmentShape
clone
clone-underlying
\
cpSegmentShape
memory>struct
;
inline
USING:
accessors
chipmunk.ffi
classes.struct
combinators.smart
;
M:
cpSegmentShape
struct-slot-values
{
[
shape>>
]
[
a>>
]
[
b>>
]
[
n>>
]
[
r>>
]
[
ta>>
]
[
tb>>
]
[
tn>>
]
}
cleave>array
;
inline