mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-02 18:43:14 +01:00
[svn r70] Fixed bug where correct calling convention was not set on calling aggregate methods
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user