jony67907

Hi I'm new to XNA and im trying to render multiple instances of the same object.

I've read the "How to: Use BasicEffect" in the XNA documentation, but I'd like to render multiple cubes, if someone could post some code showing how to do this that would be much appreciated.

Thanks

 

Edit: Just solved my problem. In my draw function, after drawing the first cube I translated the world matrix, and forgot to set it to the old worldmatrix when finishing.