SHARE
TWEET

Untitled

a guest Jun 24th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int32 Mask = 0;
  2.  
  3. TArray<EDirection> Directions = TArray<EDirection>({ Up, Down, Left, Right });
  4. for (EDirection D : Directions)
  5. {
  6.     if (IsOverlapping(D))
  7.     {
  8.         Mask += (int32)D;
  9.     }
  10. }
  11.  
  12. switch (Mask)
  13. {
  14. //  handle mesh swap
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top