From 8777a0a8359e3c1d095d8f39f57508add35bac1e Mon Sep 17 00:00:00 2001 From: Kia Strawberries <66382675+uwukia@users.noreply.github.com> Date: Sun, 29 Sep 2024 02:28:32 -0300 Subject: [PATCH 1/2] Update README.md BETTER --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7c861a0..161df6e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,19 @@ # hello-world -If you read this, you lost The Game -Hello! My name is Ed. I just Lost the game. Incredible. yuh +![panel-46708418-image-c86c3efd-f392-459b-b7fe-1fe860da3db6](https://github.com/user-attachments/assets/1e127809-00e6-448c-bfe4-30aa6fdab1ba) + +![panel-46708418-image-2c6ec8ae-9e27-40ea-b67c-54f595ec60a3](https://github.com/user-attachments/assets/1e9c8de5-1cc0-4668-9cf5-fbaed8536608) + +My name is Edward. I'm a 24 year old Chinese-American dude who likes video games (crazy). After graduating from High School, I took a gap year to take live-streaming seriously and as of March 9th, 2018 I am now Full-Time. + +I primarily stream [osu!](https://osu.ppy.sh/home), a free to play/free to win rhythm game but will also occasionally stream other games from time to time. + +![btmc-fall](https://github.com/user-attachments/assets/d209768f-9fe4-49a5-ad9e-b36f9a188ed3) + +![btmc-beasttrollmc](https://github.com/user-attachments/assets/c109f96c-1986-41d5-96d9-167dfc1817f7) + +![btmc-osu](https://github.com/user-attachments/assets/b2dc04b6-6963-4287-9bd4-15062bbcefac) + +# GYZE + +# HONESTY From d000bf5af7b3206da475e9f916f88a4fa3913f44 Mon Sep 17 00:00:00 2001 From: Kia Strawberries <66382675+uwukia@users.noreply.github.com> Date: Sun, 29 Sep 2024 02:29:25 -0300 Subject: [PATCH 2/2] Create q_math.c fast sqrt --- game/code/q_math.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 game/code/q_math.c diff --git a/game/code/q_math.c b/game/code/q_math.c new file mode 100644 index 0000000..6d0ddee --- /dev/null +++ b/game/code/q_math.c @@ -0,0 +1,25 @@ +#if !idppc +/* +** float q_rsqrt( float number ) +*/ +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 ) ); // 1st iteration +// y = y * ( threehalfs - ( x2 * y * y ) ); // 2nd iteration, this can be removed + +#ifndef Q3_VM +#ifdef __linux__ + assert( !isnan(y) ); // bk010122 - FPE? +#endif +#endif + return y; +}