From 4348cc9581bfea05359485c5d2d074132d0271da Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 6 Aug 2020 19:21:49 +0200 Subject: Renders scenes with a single hardcoded light and green objects --- src/vector.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vector.hpp') diff --git a/src/vector.hpp b/src/vector.hpp index 76eb883..05de25c 100644 --- a/src/vector.hpp +++ b/src/vector.hpp @@ -15,8 +15,10 @@ class Vec3d { Vec3d cross(const Vec3d &vec) const; // Operators + Vec3d operator+(const Vec3d &vec) const; Vec3d operator-(const Vec3d &vec) const; Vec3d operator-() const; + Vec3d operator*(double) const; double m_x, m_y, m_z; }; -- cgit v1.2.3