mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-03 02:48:32 -06:00
Remove PowerScaledCoordinates and rename PowerScaledSphere to Sphere (closes #4)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user