From a8199340fb096d9a6b49862561935b7231ae6f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 24 May 2014 16:15:48 +0200 Subject: [PATCH] Math: fixed confusing naming. Probably was byte vector originally, but isn't anymore. --- src/Magnum/Math/Test/FunctionsTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Magnum/Math/Test/FunctionsTest.cpp b/src/Magnum/Math/Test/FunctionsTest.cpp index f0b40b24e..385708a01 100644 --- a/src/Magnum/Math/Test/FunctionsTest.cpp +++ b/src/Magnum/Math/Test/FunctionsTest.cpp @@ -213,10 +213,10 @@ void FunctionsTest::lerp() { CORRADE_COMPARE(Math::lerp(a, b, 0.25f), Vector3(0.0f, 1.0f, 5.0f)); /* Integer vector */ - typedef Math::Vector<3, Int> Vector3ub; - Vector3ub c(0, 128, 64); - Vector3ub d(16, 0, 32); - CORRADE_COMPARE(Math::lerp(c, d, 0.25f), Vector3ub(4, 96, 56)); + typedef Math::Vector<3, Int> Vector3i; + Vector3i c(0, 128, 64); + Vector3i d(16, 0, 32); + CORRADE_COMPARE(Math::lerp(c, d, 0.25f), Vector3i(4, 96, 56)); /* Vector as interpolation phase */ CORRADE_COMPARE(Math::lerp(a, b, Vector3(0.25f, 0.5f, 0.75f)), Vector3(0.0f, 0.0f, 9.0f));