diff options
author | CppCXY <812125110@qq.com> | 2024-02-22 20:29:13 +0800 |
---|---|---|
committer | CppCXY <812125110@qq.com> | 2024-02-22 20:29:13 +0800 |
commit | 9b6df71d97a70ee7179949ef9f15368cbf29dcbd (patch) | |
tree | bf7a7e62ed7c164a12bdce437c17262a5235bcec /meta/3rd/Cocos4.0/library/cc/Physics3DShape.lua | |
parent | 483fe246b6ae8c25d433aa15e43f04f0e71a74d5 (diff) | |
parent | 3e6fd3ce1f2f0528336ded939d776a29bbfaf2eb (diff) | |
download | lua-language-server-9b6df71d97a70ee7179949ef9f15368cbf29dcbd.zip |
Merge branch 'master' of github.com:CppCXY/lua-language-server
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/Physics3DShape.lua')
m--------- | meta/3rd/Cocos4.0 | 0 | ||||
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc/Physics3DShape.lua | 67 |
2 files changed, 0 insertions, 67 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/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<br> ----* param extent The extent of sphere. ----@param extent vec3_table ----@return self -function Physics3DShape:createBox (extent) end ----* create cylinder shape<br> ----* param radius The radius of cylinder.<br> ----* param height The height. ----@param radius float ----@param height float ----@return self -function Physics3DShape:createCylinder (radius,height) end ----* create convex hull<br> ----* param points The vertices of convex hull<br> ----* param numPoints The number of vertices. ----@param points vec3_table ----@param numPoints int ----@return self -function Physics3DShape:createConvexHull (points,numPoints) end ----* create capsule shape<br> ----* param radius The radius of capsule.<br> ----* param height The height (cylinder part). ----@param radius float ----@param height float ----@return self -function Physics3DShape:createCapsule (radius,height) end ----* create sphere shape<br> ----* 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 |