From d288cd1e6d0bb9fd4c05e6afa3e26bb7e0658839 Mon Sep 17 00:00:00 2001 From: carsakiller Date: Fri, 27 Oct 2023 20:42:06 -0400 Subject: refactor: replace Cocos4.0 with LuaCATS submodule --- meta/3rd/Cocos4.0 | 1 + meta/3rd/Cocos4.0/library/cc/Physics3DShape.lua | 67 ------------------------- 2 files changed, 1 insertion(+), 67 deletions(-) create mode 160000 meta/3rd/Cocos4.0 delete mode 100644 meta/3rd/Cocos4.0/library/cc/Physics3DShape.lua (limited to 'meta/3rd/Cocos4.0/library/cc/Physics3DShape.lua') diff --git a/meta/3rd/Cocos4.0 b/meta/3rd/Cocos4.0 new file mode 160000 index 00000000..c0b2259e --- /dev/null +++ b/meta/3rd/Cocos4.0 @@ -0,0 +1 @@ +Subproject commit c0b2259e0d367561fd4563ae114b029b4dfe3a8f diff --git a/meta/3rd/Cocos4.0/library/cc/Physics3DShape.lua b/meta/3rd/Cocos4.0/library/cc/Physics3DShape.lua deleted file mode 100644 index 964783dd..00000000 --- a/meta/3rd/Cocos4.0/library/cc/Physics3DShape.lua +++ /dev/null @@ -1,67 +0,0 @@ ----@meta - ----@class cc.Physics3DShape :cc.Ref -local Physics3DShape={ } -cc.Physics3DShape=Physics3DShape - - - - ----* ----@return btCollisionShape -function Physics3DShape:getbtShape () end ----* ----@param radius float ----@return boolean -function Physics3DShape:initSphere (radius) end ----* ----@param ext vec3_table ----@return boolean -function Physics3DShape:initBox (ext) end ----* ----@param radius float ----@param height float ----@return boolean -function Physics3DShape:initCapsule (radius,height) end ----* ----@param radius float ----@param height float ----@return boolean -function Physics3DShape:initCylinder (radius,height) end ----* get shape type ----@return int -function Physics3DShape:getShapeType () end ----* create box shape
----* param extent The extent of sphere. ----@param extent vec3_table ----@return self -function Physics3DShape:createBox (extent) end ----* create cylinder shape
----* param radius The radius of cylinder.
----* param height The height. ----@param radius float ----@param height float ----@return self -function Physics3DShape:createCylinder (radius,height) end ----* create convex hull
----* param points The vertices of convex hull
----* param numPoints The number of vertices. ----@param points vec3_table ----@param numPoints int ----@return self -function Physics3DShape:createConvexHull (points,numPoints) end ----* create capsule shape
----* param radius The radius of capsule.
----* param height The height (cylinder part). ----@param radius float ----@param height float ----@return self -function Physics3DShape:createCapsule (radius,height) end ----* create sphere shape
----* param radius The radius of sphere. ----@param radius float ----@return self -function Physics3DShape:createSphere (radius) end ----* ----@return self -function Physics3DShape:Physics3DShape () end \ No newline at end of file -- cgit v1.2.3