17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-01 10:22:09 +01:00

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

This commit is contained in:
jerrrrycho
2026-10-10 15:06:37 +02:00
parent 807d6822a5
commit 07d94806b7
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