Damus
:ihavenomouth: · 2w
quake doesn’t really hold up, the level design was probably impressive for the time, but it’s not as interesting as games from the late 90s and 00s. if it looks impressive now, that’s only becau...
wigbert profile picture
@:ihavenomouth: not reading all that happy for you or sorry that float Q_rsqrt( float number ){ long i; float x2, y;
const float threehalfs = 1.5F;
x2 = number * 0.5F;
y = number;
i = * ( long * ) &y; // evil floating point bit level hacking
i = 0x5f3759df - ( i >> 1 ); // what the fuck?
y = * ( float * ) &i;
y = y * ( threehalfs - ( x2 * y * y ) );
// y = y * ( threehalfs - ( x2 * y * y ) );
return y;
}
1
:ihavenomouth: · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqy6tk68elxfcrz8yx5kf32agav67hwz4rt2ff22f8rl98yxh7uxhsvng80s so true