From de3fdba568cf0b05e8fe0ec7fb11552416474093 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 25 Jan 2011 09:30:49 +0200 Subject: Tweaking around --- src/utility.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/utility.cpp') diff --git a/src/utility.cpp b/src/utility.cpp index 269b545a5..8befaaeec 100644 --- a/src/utility.cpp +++ b/src/utility.cpp @@ -102,6 +102,10 @@ void mysrand(unsigned seed) next = seed; } +/* + PointAttributeList +*/ + // Float with distance struct DFloat { @@ -109,7 +113,7 @@ struct DFloat u32 d; }; -float PointAttributeList::getInterpolatedFloat(v3s16 p) +float PointAttributeList::getInterpolatedFloat(v2s16 p) { const u32 near_wanted_count = 5; // Last is nearest, first is farthest -- cgit v1.2.3