ZoriaRPG

DIR16 Constants for Arkanoid

Aug 16th, 2018
101
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const float DIR16_DEG_INCREMENT = 22.5;;
  2.  
  3. const float DIR16_DEG_UP        = 270;
  4. const float DIR16_DEG_UPUPLEFT = 247.5;
  5.  
  6. const float DIR16_DEG_UPLEFT    = 225;
  7. const float DIR16_DEG_LEFTLEFTUP = 202.5;
  8. const float DIR16_DEG_LEFT      = 180;
  9. const float DIR16_DEG_LEFTLEFTDOWN = 157.5;
  10. const float DIR16_DEG_LEFTDOWN  = 135;
  11. const float DIR16_DEG_DOWNDOWNLEFT = 112.5;
  12. const float DIR16_DEG_DOWN      = 90;
  13. const float DIR16_DEG_DOWNDOWNRIGHT = 67.5;
  14. const float DIR16_DEG_RIGHTDOWN     = 45;
  15. const float DIR16_DEG_RIGHTRIGHTDOWN = 22.5;
  16. const float DIR16_DEG_RIGHT     = 0;
  17. const float DIR16_DEG_RIGHTRIGHTUP  = 292.5
  18. const float DEG_DIR_RIGHTUP     = 315;
  19.  
  20. const float DIR16_RADS_UP       = 4.7214;
  21. const float DIR16_RADS_UPUPLEFT = 4.3197;
  22. const float DIR16_RADS_UPLEFT   = 3.927;
  23. const float DIR16_RADS_LEFTLEFTUP = 3.5343
  24. const float DIR16_RADS_LEFT     = 3.1416; //3.1519; //Pi
  25. const float DIR16_RADS_LEFTLEFTDOWN = 2.7489;
  26. const float RAD_DIR_LEFTDOWN    = 2.3562;
  27. const float DIR16_RADS_DOWNDOWNLEFT = 1.9635;
  28. const float DIR16_RADS_DOWN     = 1.5708;
  29. const float DIR16_RADS_DOWNDOWNRIGHT = 1.1781;
  30. const float RAD_DIR_RIGHTDOWN   = 0.7854;
  31. const float DIR16_RADS_RIGHTRIGHTDOWN = 0.3927;
  32. const float RAD_DIR_RIGHT   = 0;
  33. const float DIR16_RADS_RIGHTRIGHTUP = 5.1051;
  34. const float DIR16_RADS_RIGHTUP  = 5.4978;
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×