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
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.math::Vector2 array
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @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
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.math::Vector2 array
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeCircle] getOffset
|
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeCircle] calculateDefaultMoment
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|