Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. PhotonImage* TakeScreenshotOfPast(PhotonViewpoint* View, UniverseTime* Time)
  2. {
  3.      std::vector<Photon*> AllPhotons = Universe::Photons::AllPhotons();
  4.  
  5.      for(Photon* Curr : AllPhotons)
  6.      {
  7.           Curr->Reverse(Time->AmmountFrom(Curr->GetTime(), GetTime());
  8.      }
  9.  
  10.      return Universe::CreatePhotonCapture(Photons);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement