[svn r70] Fixed bug where correct calling convention was not set on calling aggregate methods

This commit is contained in:
Tomas Lindquist Olsen
2007-10-28 02:03:42 +02:00
parent 49deafe227
commit a5d3910b57
2 changed files with 11 additions and 4 deletions

View File

@@ -17,12 +17,12 @@ int main()
{
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);