diff options
| author | jussi | 2023-04-25 19:28:54 +0300 |
|---|---|---|
| committer | jussi | 2023-04-25 19:28:54 +0300 |
| commit | 8b6337446dd79faf226ea9df40d4d06d81c38436 (patch) | |
| tree | 14e55e4c50139c932c3d959583532675fe7be19a /ReiLua_API.lua | |
| parent | a9ce78128d919e9798d7d2ec043879a4c685a9d1 (diff) | |
| download | reilua-enhanced-8b6337446dd79faf226ea9df40d4d06d81c38436.tar.gz reilua-enhanced-8b6337446dd79faf226ea9df40d4d06d81c38436.tar.bz2 reilua-enhanced-8b6337446dd79faf226ea9df40d4d06d81c38436.zip | |
DrawCapsule and DrawCapsuleWires. Free Camera3D example.
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 76513a9..f2c4289 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -3129,6 +3129,30 @@ function RL.DrawCylinderWires( position, radiusTop, radiusBottom, height, slices ---@return any success function RL.DrawCylinderWiresEx( startPos, endPos, startRadius, endRadius, sides, color ) end +---Draw a capsule with the center of its sphere caps at startPos and endPos +---- Failure return false +---- Success return true +---@param startPos table +---@param endPos table +---@param radius number +---@param slices integer +---@param rings integer +---@param color table +---@return any success +function RL.DrawCapsule( startPos, endPos, radius, slices, rings, color ) end + +---Draw capsule wireframe with the center of its sphere caps at startPos and endPos +---- Failure return false +---- Success return true +---@param startPos table +---@param endPos table +---@param radius number +---@param slices integer +---@param rings integer +---@param color table +---@return any success +function RL.DrawCapsuleWires( startPos, endPos, radius, slices, rings, color ) end + ---Draw a plane XZ ---- Failure return false ---- Success return true |
