Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
titleC++
Cmaxwell::Ccamera::Citerator it;
Cmaxwell::Ccamera camera = it.first( scene ); 
Code Block
languagejavascriptpython
titlePython
it = CmaxwellCameraIterator();
camera = it.first( scene ); 

...

Code Block
languagecpp
titleC++
Cmaxwell::Ccamera::Citerator it;
Cmaxwell::Ccamera camera = it.first( scene );

while( !camera.isNull() )
{
  // Do something with the camera.

  camera = it.next();
}        
Code Block
languagejavascriptpython
titlePython
it = CmaxwellCameraIterator();
camera = it.first( scene );

while not camera.isNull():

  # Do something with the camera.

  camera = it.next();       

...