From 7c5bf0f83e3a3bd566e35c8d7708c0054918c2da Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 18 Nov 2016 21:25:02 +0100 Subject: [PATCH] Math/Quaternion: Fix compilation of static method Lerp --- include/Nazara/Math/Quaternion.inl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/Nazara/Math/Quaternion.inl b/include/Nazara/Math/Quaternion.inl index 5c7df28cd..f7f7c693c 100644 --- a/include/Nazara/Math/Quaternion.inl +++ b/include/Nazara/Math/Quaternion.inl @@ -714,10 +714,10 @@ namespace Nz #endif Quaternion interpolated; - interpolated.w = Lerp(from.w, to.w, interpolation); - interpolated.x = Lerp(from.x, to.x, interpolation); - interpolated.y = Lerp(from.y, to.y, interpolation); - interpolated.z = Lerp(from.z, to.z, interpolation); + interpolated.w = Nz::Lerp(from.w, to.w, interpolation); + interpolated.x = Nz::Lerp(from.x, to.x, interpolation); + interpolated.y = Nz::Lerp(from.y, to.y, interpolation); + interpolated.z = Nz::Lerp(from.z, to.z, interpolation); return interpolated; }