Module configuration. More...
#include "base/module.hh"#include "base/conf.hh"#include "base/conf_template_macros.hh"#include "base/misc.hh"#include "base/stream.hh"#include "math/module.hh"#include "math/defs_vector.hh"#include "shader/module.hh"#include "shader/conf.hh"#include "shader/defs.hh"Namespaces | |
| namespace | shader |
shader module. | |
| namespace | shader::global |
Defines | |
| #define | SHADER_CONF_CC 1 |
Functions | |
| std::ostream & | shader::operator<< (std::ostream &strm, const Conf &conf) |
Variables | |
| Conf | shader::global::gConf |
Module configuration.
This was unusually put here in conf.cc instead of defs.hh. namespace shader { namespace defs { osg::Vec3 DEFAULT_LIGHT0_POSITION(x,y,z); } // namespace defs } // namespace shader
Conf::Conf( void ) mLight0Position(shader::defs::DEFAULT_LIGHT0_POSITION)
DEFAULT_LIGHT_POSITION might be initialized AFTER the Conf ctor executes! So try to write only basic constants in defs if possible.
| #define SHADER_CONF_CC 1 |
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10