diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/PhysicsShapeCircle.lua')
m--------- | meta/3rd/Cocos4.0 | 0 | ||||
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc/PhysicsShapeCircle.lua | 47 |
2 files changed, 0 insertions, 47 deletions
diff --git a/meta/3rd/Cocos4.0 b/meta/3rd/Cocos4.0 new file mode 160000 +Subproject c0b2259e0d367561fd4563ae114b029b4dfe3a8 diff --git a/meta/3rd/Cocos4.0/library/cc/PhysicsShapeCircle.lua b/meta/3rd/Cocos4.0/library/cc/PhysicsShapeCircle.lua deleted file mode 100644 index c8bfc811..00000000 --- a/meta/3rd/Cocos4.0/library/cc/PhysicsShapeCircle.lua +++ /dev/null @@ -1,47 +0,0 @@ ----@meta - ----@class cc.PhysicsShapeCircle :cc.PhysicsShape -local PhysicsShapeCircle={ } -cc.PhysicsShapeCircle=PhysicsShapeCircle - - - - ----* Get the circle's radius.<br> ----* return A float number. ----@return float -function PhysicsShapeCircle:getRadius () end ----* Creates a PhysicsShapeCircle with specified value.<br> ----* param radius A float number, it is the circle's radius.<br> ----* param material A PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.<br> ----* param offset A Vec2 object, it is the offset from the body's center of gravity in body local coordinates.<br> ----* return An autoreleased PhysicsShapeCircle object pointer. ----@param radius float ----@param material cc.PhysicsMaterial ----@param offset vec2_table ----@return self -function PhysicsShapeCircle:create (radius,material,offset) end ----* Calculate the area of a circle with specified radius.<br> ----* param radius A float number<br> ----* return A float number ----@param radius float ----@return float -function PhysicsShapeCircle:calculateArea (radius) end ----* Calculate the moment of a circle with specified value.<br> ----* param mass A float number<br> ----* param radius A float number<br> ----* param offset A Vec2 object, it is the offset from the body's center of gravity in body local coordinates.<br> ----* return A float number ----@param mass float ----@param radius float ----@param offset vec2_table ----@return float -function PhysicsShapeCircle:calculateMoment (mass,radius,offset) end ----* Get this circle's position offset.<br> ----* return A Vec2 object. ----@return vec2_table -function PhysicsShapeCircle:getOffset () end ----* Calculate the moment for a circle.<br> ----* return A float number. ----@return float -function PhysicsShapeCircle:calculateDefaultMoment () end
\ No newline at end of file |