SHARE
TWEET

Untitled

a guest Nov 15th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. std::cout << a1.Get() << " ; " << a2.Get() << std::endl;
  2.    
  3.     a1.Set(10);
  4.     std::cout << a1.Get() << " ; " << a2.Get() << std::endl;
  5.  
  6.     a1.Sub(Angle(5));
  7.     std::cout << a1.Get() << " ; " << a2.Get() << std::endl;
  8.  
  9.     a1.Add(340);
  10.     std::cout << a1.Get() << " ; " << a2.Get() << std::endl;
  11.  
  12.     a1.Add(20);
  13.     std::cout << a1.Get() << " ; " << a2.Get() << std::endl;
  14.  
  15.     a1.Sub(20);
  16.     std::cout << a1.Get() << " ; " << a2.Get() << std::endl;
  17.  
  18.     a1.Sub(a2);
  19.     std::cout << a1.Get() << " ; " << a2.Get() << std::endl;
  20.  
  21.     a1.Add(a2);
  22.     std::cout << a1.Get() << " ; " << a2.Get() << std::endl;
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