ДействиеСценарий / Говнокод #5384 Ссылка на оригинал

0

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
var cam:Camera;
/*
TODO: camerName here is actually camerIndex - this is what view is sending back, it can send the name and in that case, we will need
to find the index by name
*/
Logger.getInstance().debug("startSetCamera: " + cameraName);

if(!cameraName || cameraName == "")
{
	cam = getDefaultCamera();
} 
else if(Camera.getCamera(cameraName))
{
	cam = Camera.getCamera(cameraName);
}
else
{
	cam = null; // А вдруг?!
}

Человек был просто мастером головоломок....

Запостил: wvxvw wvxvw, (Updated )

Комментарии (0) RSS

Добавить комментарий

Где здесь C++, guest?!

    А не использовать ли нам bbcode?


    8