Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement