MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / UpdateDrawFrame

Function UpdateDrawFrame

projects/CMake/main.cpp:61–78  ·  view source on GitHub ↗

---------------------------------------------------------------------------------- Module Functions Definition ----------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

59// Module Functions Definition
60//----------------------------------------------------------------------------------
61void UpdateDrawFrame(void)
62{
63 // Update
64 //----------------------------------------------------------------------------------
65 // TODO: Update your variables here
66 //----------------------------------------------------------------------------------
67
68 // Draw
69 //----------------------------------------------------------------------------------
70 BeginDrawing();
71
72 ClearBackground(RAYWHITE);
73
74 DrawText("Congrats! You created your first raylib-cpp window!", 160, 200, 20, LIGHTGRAY);
75
76 EndDrawing();
77 //----------------------------------------------------------------------------------
78}

Callers 1

mainFunction · 0.70

Calls 1

DrawTextFunction · 0.50

Tested by

no test coverage detected