#include "raylib.h"
#define WIDTH 800
#define HEIGHT 600
int main()
{
InitWindow(WIDTH, HEIGHT, "Raylib Draw Mouse Reference");
// Main game loop
while (!WindowShouldClose()) // Detect window close button or ESC key
{
BeginDrawing();
ClearBackground(RAYWHITE);
// Draw mouse reference
// void DrawCircleV(Vector2 center, float radius, Color color);
DrawCircleV(GetMousePosition(), 4, DARKGRAY);
EndDrawing();
}
CloseWindow(); // Close window and OpenGL context
return 0;
}
/*
run:
*/