{"id":23918148,"url":"https://github.com/kerberjg/lib-mathutils","last_synced_at":"2025-02-23T20:20:25.203Z","repository":{"id":22149377,"uuid":"25480596","full_name":"kerberjg/lib-mathutils","owner":"kerberjg","description":"Fast, SIMD optimized, cross-platform C++ math utility library","archived":false,"fork":false,"pushed_at":"2016-11-10T19:36:25.000Z","size":95,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-05T13:13:42.370Z","etag":null,"topics":["c-plus-plus","gamedev-library","math-library","matrix-calculations","rng","simd-optimizations","vector-math"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kerberjg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-20T18:34:04.000Z","updated_at":"2024-03-02T08:00:13.000Z","dependencies_parsed_at":"2022-07-15T23:46:02.840Z","dependency_job_id":null,"html_url":"https://github.com/kerberjg/lib-mathutils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerberjg%2Flib-mathutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerberjg%2Flib-mathutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerberjg%2Flib-mathutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerberjg%2Flib-mathutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kerberjg","download_url":"https://codeload.github.com/kerberjg/lib-mathutils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240372480,"owners_count":19791008,"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":["c-plus-plus","gamedev-library","math-library","matrix-calculations","rng","simd-optimizations","vector-math"],"created_at":"2025-01-05T13:12:39.072Z","updated_at":"2025-02-23T20:20:25.138Z","avatar_url":"https://github.com/kerberjg.png","language":"C++","readme":"lib-mathutils\n=============\n\nA C++ math library heavily optimized for real time applications such as games.\n\n**Status**: Work in progress!\n\n## Features:\n - Cached trigonometric functions (1MB of RAM, 99.9999% precision)\n - Vector and matrix classes (Vec2, Vec3, Mat3, Mat4)\n - Compile-time selection between \"*fast*\" and \"*precise*\" modes (read below)\n - \"Fast inverse square root\" hack\n - Operates on 32-bit floats by default\n\n \n## Planned features:\n - Big integers (128 and 256 bits)\n - Big float (128 bit)\n - SIMD optimizations\n\n### \"Precise\" and \"Fast\" modes\nThe default compilation mode is \"fast\". To enable the \"precise\" mode, you have to define the \"PRECISE\" macro in your compilation command.\n\n**Example**: (G++ and Clang)\n\n```\n-D PRECISE\n```\n\nThe precise mode disables caching of the trig functions as well as the `fast_inv_sqrt` hack.\nIt also switches to using 64bit floats instead of the 32bit ones.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerberjg%2Flib-mathutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkerberjg%2Flib-mathutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerberjg%2Flib-mathutils/lists"}