SHARE
TWEET

Untitled

a guest May 7th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. stepx = sign(dx);
  2. stepy = sign(dy);
  3. stepz = sign(dz);
  4.  
  5. public function sign(x:Float) : Int{
  6.    return x < 0 ? -1:1;
  7. }
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