Skip to content

Commit 61c7c1c

Browse files
committed
[共通] DebugCamera3D::drawTouchUI() に const をつける #1091
1 parent e8e2e80 commit 61c7c1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Siv3D/include/Siv3D/DebugCamera3D.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace s3d
2626

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

29-
void drawTouchUI(const Vec2& pos, double scale = 1.0);
29+
void drawTouchUI(const Vec2& pos, double scale = 1.0) const;
3030

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

Siv3D/src/Siv3D/DebugCamera3D/SivDebugCamera3D.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ namespace s3d
263263
BasicCamera3D::setView(m_eyePosition, (m_eyePosition + focusVector), m_upDirection);
264264
}
265265

266-
void DebugCamera3D::drawTouchUI(const Vec2& pos, const double scale)
266+
void DebugCamera3D::drawTouchUI(const Vec2& pos, const double scale) const
267267
{
268268
const Transformer2D transformer{ Mat3x2::Scale(scale).translated(pos) };
269269
constexpr Circle WButton{ 80, 32, 32 };

0 commit comments

Comments
 (0)