mirror of
https://github.com/Linloir/SceneEditor.git
synced 2025-12-17 15:38:11 +08:00
add comment to remind user
This commit is contained in:
parent
14a3a08bf6
commit
cabdc8b5e8
@ -33,9 +33,12 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
// maybe we can check if boundary has not been set yet
|
// 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() {
|
inline glm::vec3 get_upper_bound() {
|
||||||
return _right_up_front;
|
return _right_up_front;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Do remember to ensure you have called check_boundary
|
||||||
inline glm::vec3 get_lower_bound() {
|
inline glm::vec3 get_lower_bound() {
|
||||||
return _left_down_back;
|
return _left_down_back;
|
||||||
}
|
}
|
||||||
@ -49,4 +52,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
void render(const ShaderProgram& shader) const;
|
void render(const ShaderProgram& shader) const;
|
||||||
void check_boundary();
|
void check_boundary();
|
||||||
|
|
||||||
|
// maybe we can encapsure a function to get both upper and lower bound?
|
||||||
|
|
||||||
};
|
};
|
||||||
Loading…
x
Reference in New Issue
Block a user