Skip to content

Commit

Permalink
[共通] DebugCamera3D::drawTouchUI() に const をつける #1091
Browse files Browse the repository at this point in the history
  • Loading branch information
Reputeless committed Feb 2, 2024
1 parent e8e2e80 commit 61c7c1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Siv3D/include/Siv3D/DebugCamera3D.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace s3d

void updateTouchUI(const Vec2& pos, double scale = 1.0, double speed = 1.0);

void drawTouchUI(const Vec2& pos, double scale = 1.0);
void drawTouchUI(const Vec2& pos, double scale = 1.0) const;

void setView(const Vec3& eyePosition, const Vec3& focusPosition, const Vec3& upDirection = Vec3{ 0, 1, 0 }) noexcept;

Expand Down
2 changes: 1 addition & 1 deletion Siv3D/src/Siv3D/DebugCamera3D/SivDebugCamera3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ namespace s3d
BasicCamera3D::setView(m_eyePosition, (m_eyePosition + focusVector), m_upDirection);
}

void DebugCamera3D::drawTouchUI(const Vec2& pos, const double scale)
void DebugCamera3D::drawTouchUI(const Vec2& pos, const double scale) const
{
const Transformer2D transformer{ Mat3x2::Scale(scale).translated(pos) };
constexpr Circle WButton{ 80, 32, 32 };
Expand Down

0 comments on commit 61c7c1c

Please sign in to comment.