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:
@@ -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