Archived

This topic is now archived and is closed to further replies.

D3DXPLANE

This topic is 5749 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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);

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites