Skip to content

Commit

Permalink
remove useless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJPinto committed May 28, 2024
1 parent 1832bf0 commit de2589b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 9 additions & 9 deletions engine/include/input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@ class Input {
static void process_input();

// Keyboard
[[nodiscard]]

static bool is_down(Keyboard::Key key);
[[nodiscard]]

static bool is_up(Keyboard::Key key);

// Mouse
[[nodiscard]]

static bool is_down(Mouse::Button button);
[[nodiscard]]

static bool is_up(Mouse::Button button);
[[nodiscard]]

static glm::vec2 mouse_delta() {
return s_mouse_delta;
}
[[nodiscard]]

static glm::vec2 mouse_position() {
return s_mouse_position;
}
Expand All @@ -75,10 +75,10 @@ class Input {
inline static glm::ivec2 s_mouse_delta = glm::ivec2{};

private:
[[nodiscard]]

static Keyboard::Key native_to_key(unsigned char);
[[nodiscard]]

static Keyboard::Key special_native_to_key(int);
[[nodiscard]]

static Mouse::Button native_to_button(int);
};
2 changes: 0 additions & 2 deletions engine/src/frustsum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ BoundingSphere::BoundingSphere(std::vector<Vertex> points) {

// Calculate the center as the average of all points
center = sum / static_cast<float>(points.size());
std::cout << "Center: " << center.x << ", " << center.y << ", " << center.z << std::endl;

// Calculate the radius as the distance from the center to the farthest point (max)
radius = glm::distance(center, max);
}
Expand Down

0 comments on commit de2589b

Please sign in to comment.