16
0
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:
jerrrrycho
2026-07-04 07:08:14 +02:00
parent 6fd1d6715b
commit 220689a5e3
121 changed files with 1380 additions and 1352 deletions

View File

@@ -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);
}