Jump to content
  • Advertisement
Sign in to follow this  
markookram

Can't get Mesh.Box to work

This topic is 3780 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

Read tutorials about this, but can't get it to work. First I define the box: Mesh myBox; Then set size: myBox = Mesh.Box(device, 100.0f, 100.0f, 100.0f); Then draw it: (?) myBox.DrawSubset(0); But it doesn't work, it says unhandled exception. What am I missing?

Share this post


Link to post
Share on other sites
Advertisement
Very little information here. It can be anything thought, but it seems you have all the code you need ( you only have to make sure it's at the right place ), so I assume the error is not here.

Perhaps you can tell us some more?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!