/// Get the cube you were looking at it's geometry.
[[nodiscard]] std::weak_ptr<Cube> look_at_geometry(const glm::vec3 &position, const glm::vec3 &direction) const;
[ ] point_in_geometry
/// Gets the smallest existing cube, where the point is inside the geometry.
[[nodiscard]] std::weak_ptr<Cube> point_in_geometry(const glm::vec3 &position) const;
[ ] point_in_cube
/// Get the smallest existing cube, where the point is inside the cubes bounding box.
[[nodiscard]] std::weak_ptr<Cube> point_in_cube(const glm::vec3 &position) const;
[ ] optimize
/// May merge child cubes into one normal cube if possible.
void optimize();
I think we should name the methods in american english because it's the norm. That would mean to name the methods get_neighbor(s) instead of get_neighbour(s).
[x] rotate
[ ] mirror
[ ] get_neighbors
[x] get_neighbor
[ ] look_at_geometry
[ ] point_in_geometry
[ ] point_in_cube
[ ] optimize
Related:
244