summaryrefslogtreecommitdiff
path: root/sphere.h
diff options
context:
space:
mode:
Diffstat (limited to 'sphere.h')
-rw-r--r--sphere.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphere.h b/sphere.h
index a5a935e..8cc1caf 100644
--- a/sphere.h
+++ b/sphere.h
@@ -39,7 +39,7 @@ public:
return (where - center) / radius;
}
- class material &material() const override {
+ class material &get_material() const override {
return materi;
}