Would help if I actually added the files

This commit is contained in:
2016-09-19 03:01:47 -07:00
parent fecf8dd8ee
commit 92aee8c4ca
10 changed files with 698 additions and 271 deletions

View File

@@ -40,6 +40,16 @@ private:
};
inline sf::Vector3f SphereToCart(sf::Vector2f i) {
auto r = sf::Vector3f(
(1 * sin(i.y) * cos(i.x)),
(1 * sin(i.y) * sin(i.x)),
(1 * cos(i.y))
);
return r;
};
inline sf::Vector3f SphereToCart(sf::Vector3f i) {
auto r = sf::Vector3f(