daily pastebin goal
14%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if ((XMVectorGetX(vSVel) <= 0.01f) && (XMVectorGetY(vSVel) <= 0.01f) && (XMVectorGetZ(vSVel) <= 0.01f))
  2.         {
  3.             l++;
  4.         }
  5.  
  6.         if ((l == 60) && ((XMVectorGetX(vSVel) <= 0.01f) && (XMVectorGetY(vSVel) <= 0.01f) && (XMVectorGetZ(vSVel) <= 0.01f)))
  7.         {
  8.             l = 0;
  9.             mSphereVel = XMFLOAT3(0,0,0);
  10.             XMStoreFloat3(&mSphereVel, vSVel);
  11.         }
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