17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-05 05:14:27 +01:00

refactor(sonar): remove redundant casts (cpp:S1905)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jerrrrycho
2026-10-10 15:06:37 +02:00
parent c831bb543c
commit 7e8081d904
3 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ struct world_vertex {
static world_vertex lerp(world_vertex const &a, world_vertex const &b, double factor)
{
return static_cast<world_vertex>(a * (1.0f - factor) + b * factor);
return a * (1.0f - factor) + b * factor;
}
// overloads