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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user