From 53cf65fda2780cc847f3efb33355de20097b69d1 Mon Sep 17 00:00:00 2001 From: NADAL Jean-Baptiste Date: Fri, 16 Feb 2024 11:40:32 +0100 Subject: [PATCH] [FEAT] Remove unused fonctions --- raytracing/src/shape.cpp | 7 ------- raytracing/src/shape.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/raytracing/src/shape.cpp b/raytracing/src/shape.cpp index b3ef4ed..4f9eb07 100644 --- a/raytracing/src/shape.cpp +++ b/raytracing/src/shape.cpp @@ -82,13 +82,6 @@ bool Shape::operator==(const Shape &a_shape) const /* ------------------------------------------------------------------------- */ -bool Shape::is_nothing(void) -{ - return (m_id == kNothing); -} - -/* ------------------------------------------------------------------------- */ - Matrix &Shape::transform(void) { return m_transform; diff --git a/raytracing/src/shape.h b/raytracing/src/shape.h index c1818df..ba60887 100644 --- a/raytracing/src/shape.h +++ b/raytracing/src/shape.h @@ -51,8 +51,6 @@ namespace Raytracer const Shape &operator=(const Shape &a_shape); bool operator==(const Shape &a_shape) const; - bool is_nothing(void); - Matrix &transform(void); void set_transform(const Matrix &a_transform_matrix);