D3DXPLANE

Started by
0 comments, last by JohanK 22 years, 1 month ago
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);
Advertisement
Why do you always solve the problem 2 minutes after posting it in a newsgroup...

Just add the following

res = new D3DXPLANE()

Sorry to bother ya...

/JohanK

This topic is closed to new replies.

Advertisement