Rename parameter names for Sample::handleClick

This commit is contained in:
Graham Pentheny
2025-06-02 23:34:20 -04:00
parent c0c1540197
commit 1d40e3b7ab
3 changed files with 9 additions and 9 deletions

View File

@@ -388,11 +388,11 @@ int main(int /*argc*/, char** /*argv*/)
}
else
{
float pos[3];
pos[0] = app.rayStart[0] + (app.rayEnd[0] - app.rayStart[0]) * hitTime;
pos[1] = app.rayStart[1] + (app.rayEnd[1] - app.rayStart[1]) * hitTime;
pos[2] = app.rayStart[2] + (app.rayEnd[2] - app.rayStart[2]) * hitTime;
app.sample->handleClick(app.rayStart, pos, processHitTestShift);
float hitPos[3];
hitPos[0] = app.rayStart[0] + (app.rayEnd[0] - app.rayStart[0]) * hitTime;
hitPos[1] = app.rayStart[1] + (app.rayEnd[1] - app.rayStart[1]) * hitTime;
hitPos[2] = app.rayStart[2] + (app.rayEnd[2] - app.rayStart[2]) * hitTime;
app.sample->handleClick(app.rayStart, hitPos, processHitTestShift);
}
}
else