Created
April 8, 2017 20:32
-
-
Save PoetaKodu/54ef2d067143fb01607e952e9effc26c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Main.hpp" | |
namespace SFMLShapes | |
{ | |
/* Funkcja, ktora tworzy wycinek kola o promieniu radius, kacie 2*angle (wartosc angle w lewo i wartosc angle w prawo). | |
vertexCount to ilosc punktow, z ktorych bedzie skladal sie ksztalt. Minimalnie sa to 3 punkty (bardzo slaba dokladnosc, trojkat) | |
*/ | |
sf::ConvexShape GeneratePie(const float &radius, const float &angle, unsigned int vertexCount = 20); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment