summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/objects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libdimensionxx/objects.cpp')
-rw-r--r--libdimensionxx/objects.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/libdimensionxx/objects.cpp b/libdimensionxx/objects.cpp
index 2272586..7bedd92 100644
--- a/libdimensionxx/objects.cpp
+++ b/libdimensionxx/objects.cpp
@@ -31,14 +31,6 @@ namespace Dimension
}
}
- // Delete a sphere
- Sphere::~Sphere()
- {
- if (unique()) {
- dmnsn_delete_sphere(dmnsn());
- }
- }
-
// Shallow copy a sphere
Object*
Sphere::copy()
@@ -60,14 +52,6 @@ namespace Dimension
}
}
- // Delete a sphere
- Cube::~Cube()
- {
- if (unique()) {
- dmnsn_delete_cube(dmnsn());
- }
- }
-
// Shallow copy a cube
Object*
Cube::copy()