2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module PhysicsShapeCircle
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend PhysicsShape
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeCircle] getRadius
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeCircle] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #cc.PhysicsMaterial physicsmaterial
|
|
|
|
-- @param #point_table point
|
|
|
|
-- @return PhysicsShapeCircle#PhysicsShapeCircle ret (return value: cc.PhysicsShapeCircle)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeCircle] calculateArea
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeCircle] calculateMoment
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #point_table point
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeCircle] getOffset
|
|
|
|
-- @param self
|
|
|
|
-- @return point_table#point_table ret (return value: point_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeCircle] calculateDefaultMoment
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|