summaryrefslogtreecommitdiff
path: root/solid.py
diff options
context:
space:
mode:
Diffstat (limited to 'solid.py')
-rw-r--r--solid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/solid.py b/solid.py
index fe22463..6bf3790 100644
--- a/solid.py
+++ b/solid.py
@@ -54,5 +54,5 @@ class Solid(object):
else:
self.color = np.tile(color, len(self.mesh))
- def build(self):
- return np.inner(self.mesh.build(), self.rotation) + self.displacement
+ def __len__(self):
+ return len(self.mesh)