From 631cea6aa7510ba53d4f14b5537e1719a72976b9 Mon Sep 17 00:00:00 2001 From: jussi Date: Sat, 24 Feb 2024 18:09:53 +0200 Subject: Rest of rlgl and raymath functions. --- ReiLua_API.lua | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 12d7b72..5236275 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -5462,6 +5462,20 @@ function RL.Vector3Divide( v1, v2 ) end ---@return any result function RL.Vector3Normalize( v ) end +---Calculate the projection of the vector v1 on to v2 +---- Success return Vector3 +---@param v1 table +---@param v2 table +---@return any result +function RL.Vector3Project( v1, v2 ) end + +---Calculate the rejection of the vector v1 on to v2 +---- Success return Vector3 +---@param v1 table +---@param v2 table +---@return any result +function RL.Vector3Reject( v1, v2 ) end + ---Orthonormalize provided vectors. Makes vectors normalized and orthogonal to each other. ---Gram-Schmidt function implementation ---- Success return Vector3, Vector3 @@ -6592,6 +6606,17 @@ function RL.rlEnableVertexAttribute( index ) end ---@return any RL.rlDisableVertexAttribute function RL.rlDisableVertexAttribute( index ) end +---Enable attribute state pointer +---@param vertexAttribType integer +---@param buffer any +---@return any RL.rlEnableStatePointer +function RL.rlEnableStatePointer( vertexAttribType, buffer ) end + +---Disable attribute state pointer +---@param vertexAttribType integer +---@return any RL.rlDisableStatePointer +function RL.rlDisableStatePointer( vertexAttribType ) end + -- RLGL - Textures state ---Select and active a texture slot @@ -6658,6 +6683,13 @@ function RL.rlDisableFramebuffer() end ---@return any RL.rlActiveDrawBuffers function RL.rlActiveDrawBuffers( count ) end +---Blit active framebuffer to main framebuffer +---@param srcRect table +---@param dstRect table +---@param bufferMask integer +---@return any RL.rlBlitFramebuffer +function RL.rlBlitFramebuffer( srcRect, dstRect, bufferMask ) end + -- RLGL - General render state ---Enable color blending @@ -6714,6 +6746,10 @@ function RL.rlScissor( area ) end ---@return any RL.rlEnableWireMode function RL.rlEnableWireMode() end +---Enable point mode +---@return any RL.rlEnablePointMode +function RL.rlEnablePointMode() end + ---Disable wire mode ---@return any RL.rlDisableWireMode function RL.rlDisableWireMode() end -- cgit v1.2.3