I just bumped into a clever little code snippet used to find the inverse square root: float InvSqrt(float x){ float xhalf = 0.5f * x; int i = *(int*)&x; // store floating-point bits in integer i = 0x5f3759d5 – (i >> 1); // initial guess for Newton’s method x = *(float*)&i; // convert new bits [...]
Filed under: Share, Technology, gaming by Loki
View Comments
I had to make one myself. I just had to. I just started last Friday and it didn’t take long to get it going with XNA. I just wanted it to behave similar to Tetris DS + other rules I picked up from Heboris, and that took some time… (plus, I wanted to watch Madagascar [...]
Filed under: Personal, gaming, projects by Loki
View Comments
I just realized today that I have more than 30 accounts and service subscriptions spread across the internet. Hmm, is it actually possible to create an interface that would unify all these and act as a hub? Possible features: Have an overview of all accounts: A screen full of widgets (Hooray for info overload!) Track [...]
Filed under: Uncategorized by Loki
View Comments