how can one choose C++ and not know such basics. Begars the mind.

fix build with clang
This commit is contained in:
espie 2017-06-21 12:57:07 +00:00
parent a2403ca8e7
commit 3783aecf70

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_Render3D_cpp,v 1.1 2017/06/21 12:57:07 espie Exp $
Index: src/Render3D.cpp
--- src/Render3D.cpp.orig
+++ src/Render3D.cpp
@@ -1409,7 +1409,7 @@ void DrawKeyframePaths(sParamRender *param, cImage *im
}
else
{
- lightActFrame[l] = (CVector3 ) { 0.0, 0.0, -1.0 };
+ lightActFrame[l] = CVector3(0.0, 0.0, -1.0);
}
}