diff test/dotproduct.d @ 66:0c5f410d973c trunk

[svn r70] Fixed bug where correct calling convention was not set on calling aggregate methods
author lindquist
date Sun, 28 Oct 2007 02:03:42 +0200
parents e116aa1488e6
children d9d5d59873d8
line wrap: on
line diff
--- a/test/dotproduct.d	Fri Oct 26 15:14:51 2007 +0200
+++ b/test/dotproduct.d	Sun Oct 28 02:03:42 2007 +0200
@@ -17,12 +17,12 @@
 {
     printf("Dot Product test\n");
 
-    const float f = 0.7071067811865474617f;
+    const f = 0.7071067811865474617;
     vec3 v = vec3(f,f,0);
     vec3 w = vec3(f,0,f);
 
     v.print("v");
-    v.print("w");
+    w.print("w");
 
     auto dp = v.dot(w);
     printf("v ยท w = %f\n", dp);