ProtoTank/ProtoTank.cpp
2024-09-13 18:51:39 +02:00

31 lines
579 B
C++

#include <iostream>
#include <stdexcept>
#include <SFML/Graphics.hpp>
#ifdef __AVX2__
#endif
int main(int argc, char** argv) {
sf::RenderWindow window(sf::VideoMode(480, 240), "ProtoTank");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(shape);
window.display();
}
return EXIT_SUCCESS;
}