From a4be800a91949d0920b9fa51a71644d120d67fb6 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 17 Apr 2013 20:57:05 +0000 Subject: Noise: removed the unused SSE branches and unused interpolation methods. Removed the Noise.inc file. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1391 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- Tests/NoiseTest/NoiseTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Tests/NoiseTest') diff --git a/Tests/NoiseTest/NoiseTest.cpp b/Tests/NoiseTest/NoiseTest.cpp index a5d13a235..eae024f2f 100644 --- a/Tests/NoiseTest/NoiseTest.cpp +++ b/Tests/NoiseTest/NoiseTest.cpp @@ -43,7 +43,7 @@ clock_t TestCubicNoise(void) clock_t Begin = clock(); for (int i = 0; i < 1000; i++) { - Cubic.Generate2D(Values, 256, 256, 0, 25.6, 0, 25.6); + Cubic.Generate2D(Values, 256, 256, 0, (NOISE_DATATYPE)25.6, 0, (NOISE_DATATYPE)25.6); } clock_t Ticks = clock() - Begin; LOG("cCubicNoise generating 1000 * 256x256 values took %d ticks (%.02f sec)", Ticks, (double)Ticks / CLOCKS_PER_SEC); @@ -96,5 +96,6 @@ int main(int argc, char * argv[]) clock_t NewTicks = TestCubicNoise(); clock_t OldTicks = TestOldNoise(); LOG("New method is %.02fx faster", (double)OldTicks / NewTicks); + LOG("Press Enter to quit program"); getchar(); } -- cgit v1.2.3