shape<< ( value object -- )


Vocabulary
accessors

Inputs
valuean object
objectan object


Outputs
None

Definition

GENERIC: shape<< ( value object -- )


Methods







M: cpCircleShape shape<<
T{ struct-slot-spec
{ name "shape" }
{ offset 0 }
{ class 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 }
}
}
{ type cpShape }
} write-struct-slot ; inline



M: cpPolyShape shape<<
T{ struct-slot-spec
{ name "shape" }
{ offset 0 }
{ class 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 }
}
}
{ type cpShape }
} write-struct-slot ; inline






M: cpSegmentShape shape<<
T{ struct-slot-spec
{ name "shape" }
{ offset 0 }
{ class 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 }
}
}
{ type cpShape }
} write-struct-slot ; inline