Documentation, heightmap example and custom begin and end draw.
This commit is contained in:
22
src/core.c
22
src/core.c
@@ -494,6 +494,28 @@ int lcoreClearBackground( lua_State *L ) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
> RL_BeginDrawing()
|
||||
|
||||
Setup canvas ( framebuffer ) to start drawing
|
||||
*/
|
||||
int lcoreBeginDrawing( lua_State *L ) {
|
||||
BeginDrawing();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
> RL_EndDrawing()
|
||||
|
||||
End canvas drawing and swap buffers ( double buffering )
|
||||
*/
|
||||
int lcoreEndDrawing( lua_State *L ) {
|
||||
EndDrawing();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
> success = RL_BeginBlendMode( int mode )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user