Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'quake'

1291574 - Quake 3's Fast Inverse Square Ro: 3 root fast quake sqare
  1. float InvSqrt(float x)
  2. {
  3.     float xhalf = 0.5f*x;
  4.     int i = *(int)&x;
  5.     i = 0x5f3759df - (i>>1);
  6.     x = *(float*)&i;
  7.     x = x*(1.5f - xhalf*x*x);
  8.     return x;
  9.  
897570 - maximilion: 3 sound quake choppy aoss oss
  1. I did
  2.  
  3. modprobe snd-pcm-oss
  4. modprobe snd-mixer-oss
  5. sudo echo "quake3 0 0 direct" > /proc/asound/card0/pcm0p/oss
  6.  
  7. No complaints. I type
  8.  
  9.  
fantasy-obligation