Original Post
Hi,
I''ve been working on my wrapper again
I have two main classes, CGOApp and CGOMesh. CGOApp holds the application details, including the D3D device. CGOMesh holds mesh details. The problem is that every time I want to alter something with the mesh, I have to do this:
mymesh.SetDevice(cApp.GetDevice()); //Alter the mesh cApp.SetDevice(mymesh.GetDevice());Should I make the classes friends, and how would I go about doing that?