Renamed tool methods

This commit is contained in:
Graham Pentheny
2025-08-07 15:04:08 -04:00
parent 1dc2fe7f36
commit 2e3977426e
15 changed files with 109 additions and 106 deletions

View File

@@ -273,7 +273,7 @@ void Sample::onClick(const float* rayStartPos, const float* rayHitPos, bool shif
{
if (tool)
{
tool->handleClick(rayStartPos, rayHitPos, shift);
tool->onClick(rayStartPos, rayHitPos, shift);
}
}
@@ -281,7 +281,7 @@ void Sample::onToggle()
{
if (tool)
{
tool->handleToggle();
tool->onToggle();
}
}
@@ -289,7 +289,7 @@ void Sample::singleStep()
{
if (tool)
{
tool->handleStep();
tool->singleStep();
}
}
@@ -302,7 +302,7 @@ void Sample::update(const float dt)
{
if (tool)
{
tool->handleUpdate(dt);
tool->update(dt);
}
updateToolStates(dt);
}