Files
oreobrot/main.c
Aryadev Chavali aab3db7f32 INITIAL COMMIT
Simple hello world in raylib
2023-09-02 18:59:18 +01:00

30 lines
531 B
C

/* main.c
* Created: 2023-09-02
* Author: Aryadev Chavali
* Description: Entrypoint of program
*/
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <raylib.h>
#include <raymath.h>
#define WIDTH 512
#define HEIGHT 512
int main(void)
{
InitWindow(WIDTH, HEIGHT, "Mandelbrot simulation");
for (size_t ticks = 0; !WindowShouldClose(); ++ticks)
{
BeginDrawing();
ClearBackground(BLACK);
DrawText("Hello, world!", 100, 100, 50, RAYWHITE);
EndDrawing();
}
CloseWindow();
return 0;
}