Initial commit

This commit is contained in:
Dylan Benzi
2025-11-02 19:44:42 -05:00
committed by GitHub
commit 60cbab42d8
6 changed files with 246 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#include <SFML/Graphics.hpp>
int main()
{
auto window = sf::RenderWindow(sf::VideoMode({1920u, 1080u}), "CMake SFML Project");
window.setFramerateLimit(144);
while (window.isOpen())
{
while (const std::optional event = window.pollEvent())
{
if (event->is<sf::Event::Closed>())
{
window.close();
}
}
window.clear();
window.display();
}
}