Jump to content
  • Advertisement
Sign in to follow this  
Ainokea

namespace orginization

This topic is 5403 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!