D3DXPLANE
The following snipplet of code generates an access violation...
Any ideas?
D3DXPLANE* r;
D3DXVECTOR3 v1;
D3DXVECTOR3 v2;
D3DXVECTOR3 v3;
v1.x = 10;
v1.y = 10;
v1.z = 5;
v2.x = 5;
v2.y = 5;
v2.z = 5;
v3.x = 15;
v3.y = 5;
v3.z = 5;
D3DXPlaneFromPoints(
r,
&v1,
&v2,
&v3);
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement