From cabdc8b5e8913635aca07887cda217b271bf64c5 Mon Sep 17 00:00:00 2001 From: ayachi3 <1592757525@qq.com> Date: Tue, 13 Dec 2022 16:48:47 +0800 Subject: [PATCH] add comment to remind user --- FinalProject/model.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/FinalProject/model.h b/FinalProject/model.h index 9a22193..44949ce 100644 --- a/FinalProject/model.h +++ b/FinalProject/model.h @@ -33,9 +33,12 @@ public: // maybe we can check if boundary has not been set yet + // Do remember to ensure you have called check_boundary inline glm::vec3 get_upper_bound() { return _right_up_front; } + + // Do remember to ensure you have called check_boundary inline glm::vec3 get_lower_bound() { return _left_down_back; } @@ -49,4 +52,7 @@ private: public: void render(const ShaderProgram& shader) const; void check_boundary(); + + // maybe we can encapsure a function to get both upper and lower bound? + }; \ No newline at end of file