Original Post
Ok, so I have 2 classes: CZRoot and CZMesh in CZRoot i have a Render() function that needs pointers to CZMesh objects to render them. in CZMesh i have a loadMesh() function that uses the CZRoot D3D device. I have a problem. how do I give each class what they need? i have thought of inheritance but it wouldn't really be a good design choice. can anyone help me on this? :D