Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TexturePMObs* PrimitiveObs::getTexturePMObs()
- {
- static TexturePMObs* _texturePMObs = NULL; // init to NULL
- return _texturePMObs;
- }
- void PrimitiveObs::setTexturePMObs(TexturePMObs* texturePMObs)
- {
- static TexturePMObs _texturePMObs = NULL; // need this or else te linker will give an error about undefined reference
- PrimitiveObs::_texturePMObs = texturePMObs;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement