From 129f2e421e16bd008cdca8713cc91f67d103d94e Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 7 Jul 2023 23:05:14 +0200 Subject: Fix minor quality issues --- src/Math/Interpolation.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Math/Interpolation.hpp') diff --git a/src/Math/Interpolation.hpp b/src/Math/Interpolation.hpp index 9eaf604..eaaa67d 100644 --- a/src/Math/Interpolation.hpp +++ b/src/Math/Interpolation.hpp @@ -1,6 +1,5 @@ #pragma once -#include #include "Common.hpp" #include "Grid.hpp" @@ -8,6 +7,6 @@ namespace Math { float linear_interpolation(Vector<2> val, float left, float right, float pos); float bilinear_interpolation(Matrix<2, 2> val, GridCellBoundaries cell, Vector<2> pos); -float trilinear_interpolation(Matrix<2, 2> val_front, Matrix<2, 2> val_back, CubeCellBoundaries cell, Vector<3> pos); +float trilinear_interpolation(Matrix<2, 2> val_front, Matrix<2, 2> val_back, const CubeCellBoundaries& cell, Vector<3> pos); } \ No newline at end of file -- cgit 1.4.1