Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. TexturePMObs* PrimitiveObs::getTexturePMObs()
  2. {
  3. static TexturePMObs* _texturePMObs = NULL; // init to NULL
  4. return _texturePMObs;
  5. }
  6.  
  7. void PrimitiveObs::setTexturePMObs(TexturePMObs* texturePMObs)
  8. {
  9. static TexturePMObs _texturePMObs = NULL; // need this or else te linker will give an error about undefined reference
  10. PrimitiveObs::_texturePMObs = texturePMObs;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement