From f4c9e21924cb5da02659f549a8bbcc0f54f9b723 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 6 Jan 2008 02:35:32 +0000 Subject: [PATCH] Disabled from ExampleLauncher. --- Source/Examples/Tests/MathSpeed.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Examples/Tests/MathSpeed.cs b/Source/Examples/Tests/MathSpeed.cs index d10c7157..a04e5405 100644 --- a/Source/Examples/Tests/MathSpeed.cs +++ b/Source/Examples/Tests/MathSpeed.cs @@ -12,7 +12,7 @@ using OpenTK.Math; namespace Examples.Tests { - [Example("Math speed test", ExampleCategory.Test, 2/*, false*/)] + [Example("Math speed test", ExampleCategory.Test, 2, false)] public class MathSpeed { public static void Main() @@ -64,6 +64,7 @@ namespace Examples.Tests res += res; // To make sure the whole for-loop isn't optimized-out Trace.WriteLine(String.Format("Vector3.Add(ref a, ref b, out res)\t{0}ns", (watch.Elapsed.TotalSeconds / 10.0).ToString())); */ + /* a = Vector3.UnitX; b = Vector3.UnitY; res = Vector3.Add(ref a, ref b); @@ -78,6 +79,7 @@ namespace Examples.Tests Vector2Im p = new Vector2(2.0f, 3.0f); Vector2Im s = Vector2.Add(p, q); p = s + q; + */ } static Vector3 pos = new Vector3();