Handbook
Glossary
cpPolyShape
Vocabulary
chipmunk
.
ffi
Definition
USING:
alien.c-types
classes.struct
;
IN:
chipmunk.ffi
STRUCT:
cpPolyShape
{
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
}
}
}
{
numVerts
int
initial:
0
}
{
verts cpVect*
}
{
axes cpPolyShapeAxis*
}
{
tVerts cpVect*
}
{
tAxes cpPolyShapeAxis*
}
;
Methods
USING:
chipmunk.ffi
classes.struct
classes.struct.private
kernel
;
M:
cpPolyShape
clone
clone-underlying
\
cpPolyShape
memory>struct
;
inline
USING:
accessors
chipmunk.ffi
classes.struct
combinators.smart
;
M:
cpPolyShape
struct-slot-values
{
[
shape>>
]
[
numVerts>>
]
[
verts>>
]
[
axes>>
]
[
tVerts>>
]
[
tAxes>>
]
}
cleave>array
;
inline