Naming and maths conventions
-
Naming conventions
-
Modules
- namespace osg
- include/osg
- src/osg
- lib/libosg.so
-
Classes - CapitalCapital i.e. osg::MatrixTransform
-
templates - small_smal<> i.e. osg::ref_ptr<>
-
Methods - smallCapitalCapital i.e. osg::Node::getStateSet()
-
Member variable - _smallCapitalCapital osg::Geometry::_vertexArray
-
General variables - smallCapitalCapital i.e. int i
-
Static variables - s_smallCapitalCapital i.e. s_cantThinkOfName
-
Math conventions
-
Right Hand Coordinate System - like OpenGL
-
Z up, Y north, X east - like Performer/Vega
-
Transformation ordering - vertex * ( Model * View * Projection )