mirror of https://github.com/axmolengine/axmol.git
45 lines
1.3 KiB
Lua
45 lines
1.3 KiB
Lua
|
|
--------------------------------
|
|
-- @module PhysicsShapeCircle
|
|
-- @extend PhysicsShape
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- @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 #vec2_table vec2
|
|
-- @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 #vec2_table vec2
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShapeCircle] getOffset
|
|
-- @param self
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShapeCircle] calculateDefaultMoment
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
return nil
|