{"id":13711669,"url":"https://github.com/ziglibs/zlm","last_synced_at":"2025-04-07T12:08:49.705Z","repository":{"id":39661142,"uuid":"268159407","full_name":"ziglibs/zlm","owner":"ziglibs","description":"Zig linear mathemathics","archived":false,"fork":false,"pushed_at":"2024-07-06T07:35:15.000Z","size":92,"stargazers_count":196,"open_issues_count":4,"forks_count":33,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T11:01:42.878Z","etag":null,"topics":["game-math","linear-algebra","opengl-math","zig","zig-package","ziglang"],"latest_commit_sha":null,"homepage":null,"language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ziglibs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"MasterQ32"}},"created_at":"2020-05-30T21:03:20.000Z","updated_at":"2025-03-18T19:06:14.000Z","dependencies_parsed_at":"2023-01-19T19:02:45.428Z","dependency_job_id":"379cfcde-38a1-4974-9554-40b54aa76eaa","html_url":"https://github.com/ziglibs/zlm","commit_stats":{"total_commits":53,"total_committers":19,"mean_commits":2.789473684210526,"dds":0.7547169811320755,"last_synced_commit":"35b76fae19f9d0a1ed541db621d7c4b3e266087e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Fzlm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Fzlm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Fzlm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Fzlm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziglibs","download_url":"https://codeload.github.com/ziglibs/zlm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648978,"owners_count":20972945,"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":["game-math","linear-algebra","opengl-math","zig","zig-package","ziglang"],"created_at":"2024-08-02T23:01:10.511Z","updated_at":"2025-04-07T12:08:49.684Z","avatar_url":"https://github.com/ziglibs.png","language":"Zig","readme":"# zlm\nZig linear mathemathics library.\n\nCurrent provides the following types:\n\n- `Vec2`\n- `Vec3`\n- `Vec4`\n- `Mat2`\n- `Mat3`\n- `Mat4`\n\nThe library is currently built around the OpenGL coordinate system and is fully generic on the basic data type.\n\n## Example\n\n```zig\nconst math = @import(\"zlm\");\n\n// Use this namespace to get access to a Vec3 with f16 fields instead of f32\nconst math_f16 = math.SpecializeOn(f16);\n\n/// Accelerate the given velocity `v` by `a` over `t`.\nfn accelerate(v: math.Vec3, a: math.Vec3, t: f32) math.Vec3 {\n  return v.add(a.scale(t));\n}\n```\n","funding_links":["https://github.com/sponsors/MasterQ32"],"categories":["Libraries","Zig","Data \u0026 Science"],"sub_categories":["Linear Algebra"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglibs%2Fzlm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziglibs%2Fzlm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglibs%2Fzlm/lists"}