Original Post
Hi, I'm a week into directx and limited with c++ header organization. I have a directx class and a sphere class. Where is the normal placement of the render function? Right now I'm passing my sphere information into a directx::render() function to display the sphere. My question is should the render() stay in a directx class or be included in every object class that needs to be rendered?