21 lines
416 B
C++
21 lines
416 B
C++
#include "Color.hpp"
|
|
#include "raylib.h"
|
|
#include <raylib-cpp.hpp>
|
|
|
|
int main() {
|
|
raylib::Window window(800, 600, "CS381 - Assignment 0");
|
|
window.SetState(FLAG_WINDOW_RESIZABLE);
|
|
|
|
window.SetTargetFPS(60); // save cpu cycles
|
|
|
|
while (!window.ShouldClose()) {
|
|
window.BeginDrawing();
|
|
|
|
window.ClearBackground(raylib::Color::RayWhite());
|
|
|
|
window.EndDrawing();
|
|
}
|
|
|
|
return 0;
|
|
}
|