From 8ade9eeb436f1bc8090df698ccf24595cd21b5e3 Mon Sep 17 00:00:00 2001 From: jussi Date: Sat, 3 Jun 2023 18:46:20 +0300 Subject: rlgl Vertex level operations and Draw Textured Polygon Example. --- include/lrlgl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/lrlgl.h') diff --git a/include/lrlgl.h b/include/lrlgl.h index 5f2adae..c56e664 100644 --- a/include/lrlgl.h +++ b/include/lrlgl.h @@ -12,6 +12,16 @@ int lrlglMultMatrixf( lua_State *L ); int lrlglFrustum( lua_State *L ); int lrlglOrtho( lua_State *L ); int lrlglViewport( lua_State *L ); +/* Vertex level operations */ +int lrlglBegin( lua_State *L ); +int lrlglEnd( lua_State *L ); +int lrlglVertex2f( lua_State *L ); +int lrlglVertex3f( lua_State *L ); +int lrlglTexCoord2f( lua_State *L ); +int lrlglNormal3f( lua_State *L ); +int lrlglColor4ub( lua_State *L ); +int lrlglColor3f( lua_State *L ); +int lrlglColor4f( lua_State *L ); /* Textures state */ int lrlglActiveTextureSlot( lua_State *L ); int lrlglEnableTexture( lua_State *L ); -- cgit v1.2.3