Sign in to follow this  
Ainokea

namespace orginization

Recommended Posts

Ainokea    435
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
morx    176
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

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