summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/MathLibTest.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-07-08 15:31:48 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-07-08 15:31:48 +0000
commitef472cb18ad625d6923c86709fa85e437c9935c0 (patch)
tree89262139bf7e70d373fc66396517ba08646d513e /Tests/TestApp/src/MathLibTest.cpp
parentUpdated Samples (diff)
downloadDiligentEngine-ef472cb18ad625d6923c86709fa85e437c9935c0.tar.gz
DiligentEngine-ef472cb18ad625d6923c86709fa85e437c9935c0.zip
Updated core (added HermiteSpline function to math lib)
Diffstat (limited to 'Tests/TestApp/src/MathLibTest.cpp')
-rw-r--r--Tests/TestApp/src/MathLibTest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/TestApp/src/MathLibTest.cpp b/Tests/TestApp/src/MathLibTest.cpp
index 1014441..b255f90 100644
--- a/Tests/TestApp/src/MathLibTest.cpp
+++ b/Tests/TestApp/src/MathLibTest.cpp
@@ -659,6 +659,9 @@ public:
VERIFY_EXPR(std::ceil(float4(0.1f, 1.2f, 2.3f, 3.4f)) == float4(1,2,3,4));
}
+ HermiteSpline(float3(1,2,3), float3(4,5,6), float3(7,8,9), float3(10, 11, 12), 0.1f);
+ HermiteSpline(double3(1,2,3), double3(4,5,6), double3(7,8,9), double3(10, 11, 12), 0.1);
+
SetStatus(TestResult::Succeeded);
}
};