Sign in to follow this  

namespace orginization

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

I am trying to fit my engine into neat little namespaces but I am having trouble deciding what goes where. I was planning to have a Core namespace with things like: Object Mnagement, logging, Opengl extension Loader, Renderer, texture management, etc.. a Math namespace with things like: Vectors, matricies, quanternions,etc.. an input/output namespace with things like: Model Loader, Texture Loader, Terrain Loader a Graphics namespace with things like: Sky Box, Shadows, Water, etc.. However I have no idea where something like my Camera class or my Frostrum class would go. Any suggestions?

Share this post


Link to post
Share on other sites
You could put Camera and Frust(?)um into your graphics namespace. That is where they belong (for the most part), since they are closing tied to the render pipeline.

Share this post


Link to post
Share on other sites

This topic is 4822 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this