{"id":13664687,"url":"https://github.com/laurence-trippen/Q_rsqrt_Unity","last_synced_at":"2025-04-26T01:33:22.630Z","repository":{"id":136497096,"uuid":"339220001","full_name":"laurence-trippen/Q_rsqrt_Unity","owner":"laurence-trippen","description":"Quake III Arena: Fast Inverse Square Root in Unity","archived":false,"fork":false,"pushed_at":"2021-02-15T23:27:19.000Z","size":38,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-02T05:22:39.571Z","etag":null,"topics":["dll","quake","quake-3","quake-engine","quake-iii-arena","quake3","quake3arena","unity","unity3d-plugin"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laurence-trippen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-15T22:06:55.000Z","updated_at":"2024-08-02T05:22:45.208Z","dependencies_parsed_at":"2024-06-15T11:02:21.985Z","dependency_job_id":null,"html_url":"https://github.com/laurence-trippen/Q_rsqrt_Unity","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurence-trippen%2FQ_rsqrt_Unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurence-trippen%2FQ_rsqrt_Unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurence-trippen%2FQ_rsqrt_Unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurence-trippen%2FQ_rsqrt_Unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laurence-trippen","download_url":"https://codeload.github.com/laurence-trippen/Q_rsqrt_Unity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224022434,"owners_count":17242767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dll","quake","quake-3","quake-engine","quake-iii-arena","quake3","quake3arena","unity","unity3d-plugin"],"created_at":"2024-08-02T05:03:04.139Z","updated_at":"2025-04-26T01:33:22.623Z","avatar_url":"https://github.com/laurence-trippen.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# Q_rsqrt_Unity\nQuake III Arena: Fast Inverse Square Root in Unity\n\n## The good or bad idea. IDK.\n\nSince I have always been interested in the Quake III engine ([id Tech 3](https://en.wikipedia.org/wiki/Id_Tech_3)) through [Star Wars Jedi Knight II: Jedi Outcast](https://en.wikipedia.org/wiki/Star_Wars_Jedi_Knight_II:_Jedi_Outcast) and am a fan of the [Fast Inverse Square Root Algorithm](https://en.wikipedia.org/wiki/Fast_inverse_square_root) I thought it would be interesting to make the algorithm available in the **UnityEngine**.\nApart from whether it makes sense or not, I just wanted to try it out. And so I started the experiment.\n\n## Installation\n\n### Windows\n\n1. Download the [current release](https://github.com/laurence-trippen/Q_rsqrt_Unity/releases/) for Windows or compile it yourself if you want to.\n2. Just put the ```Q_rsqrt_Unity_DLL_x86.dll``` or ```Q_rsqrt_Unity_DLL_x64.dll``` in your ```Assets/Plugins``` folder in your Unity Project.\n3. Native plugins are typically bounded to a specific OS or platform. You can use the Unity Inspector to make sure each DLL is included in the right build.\n\n### Linux\n\nComing soon.\n\n### macOS\n\nComing soon.\n\n## Usage\n\n1. Import the **Q3** namespace.\n2. Just call the static method ```float result = Qmath.Q_rsqrt(float number);```\n\n```csharp\nusing UnityEngine;\nusing Q3;\n\npublic class Tester : MonoBehaviour\n{\n    public float testValue = 1f;\n\n    private void Start()\n    {\n        float result = Qmath.Q_rsqrt(testValue);\n        Debug.Log(result);\n    }\n}\n```\n\n## Performance / Profiling\n\nComing soon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurence-trippen%2FQ_rsqrt_Unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaurence-trippen%2FQ_rsqrt_Unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurence-trippen%2FQ_rsqrt_Unity/lists"}