namespace orginization

Started by
0 comments, last by morx 19 years, 6 months ago
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?
______________________________________________________________________________________With the flesh of a cow.
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.

This topic is closed to new replies.

Advertisement