mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 22:59:19 +02:00
reformat: parameters can be made const
This commit is contained in:
@@ -17,7 +17,7 @@ struct world_vertex {
|
||||
glm::vec3 normal;
|
||||
glm::vec2 texture;
|
||||
|
||||
static world_vertex lerp(world_vertex const &a, world_vertex const &b, double factor)
|
||||
static world_vertex lerp(world_vertex const &a, world_vertex const &b, const double factor)
|
||||
{
|
||||
return static_cast<world_vertex>(a * (1.0f - factor) + b * factor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user