implements D3DRMVectorAdd

Stefan Dösinger stefandoesinger at gmx.at
Wed Apr 18 12:26:44 CDT 2007


Am Montag 16 April 2007 01:29 schrieb David.Adam at math.cnrs.fr:
+/* Add Two Vectors */
+LPD3DVECTOR D3DRMAPI D3DRMVectorAdd(LPD3DVECTOR d, LPD3DVECTOR s1, 
LPD3DVECTOR s2)

I personally prefer D3DVECTOR * over LPD3DVECTOR, but I don't know if there's 
any rule for that. If in doubt follow your personal preferences.

+  ok( 
((fabs(expectedvec.x-gotvec.x)<0.000001)&&(fabs(expectedvec.y-gotvec.y)<0.000001)&&(fabs(expectedvec.z-gotvec.z)<0.000001)), 
\
Perhaps its better to make 0.000001 a constant?

+    todo_wine {
+    expect_vec(e,r);
+              }
Why did you make this a TODO_WINE if you just imlemented the function?



More information about the wine-devel mailing list