Remove PowerScaledCoordinates and rename PowerScaledSphere to Sphere (closes #4)

This commit is contained in:
Alexander Bock
2019-12-27 23:29:28 +01:00
parent a51cee1f36
commit 207db3c824
23 changed files with 56 additions and 569 deletions

View File

@@ -25,9 +25,9 @@
#include <modules/space/rendering/simplespheregeometry.h>
#include <openspace/documentation/verifier.h>
#include <openspace/scene/scenegraphnode.h>
#include <openspace/rendering/renderable.h>
#include <openspace/util/powerscaledsphere.h>
#include <openspace/scene/scenegraphnode.h>
#include <openspace/util/sphere.h>
namespace {
constexpr openspace::properties::Property::PropertyInfo RadiusInfo = {
@@ -124,7 +124,7 @@ void SimpleSphereGeometry::createSphere() {
const glm::vec3 radius = _radius.value();
delete _sphere;
_sphere = new PowerScaledSphere(radius, _segments);
_sphere = new Sphere(radius, _segments);
_sphere->initialize();
}