Advertisement
xerpi

Untitled

Jul 26th, 2014
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include <SFML/Graphics.hpp>
  2.  
  3. int main()
  4. {
  5.     sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
  6.     sf::CircleShape shape(100.f);
  7.     shape.setFillColor(sf::Color::Green);
  8.  
  9.     while (window.isOpen()) {
  10.         window.clear();
  11.         window.draw(shape);
  12.         window.display();
  13.     }
  14.  
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement