I'm trying to draw a polygon here, but the points I put in won't display.
#include <iostream>
#include <SFML/Graphics.hpp>
using namespace std;
int main()
{
sf::RenderWindow App(sf::VideoMode::GetMode(0), "Laz's Interactive Map :: The Wrath... :: PvP Created");
// Creates the PE map :: 7000x3000
sf::Shape Map;
Map.AddPoint(0,100,sf::Color(100,100,200));
Map.AddPoint(100,100,sf::Color(100,100,200));
Map.EnableFill(true);
Map.EnableOutline(false);
//Map.Rotate(45);
//Map.Move(0,354);
while (App.IsOpened())
{
sf::Event Event;
while (App.GetEvent(Event))
{
if (Event.Type == sf::Event::Closed)
App.Close();
}
float ElapsedTime = App.GetFrameTime();
App.Clear();
App.Draw(Map);
App.Display();
}
return 0;
}