{"id":15099837,"url":"https://github.com/ousttrue/rowmath","last_synced_at":"2026-01-07T06:08:22.890Z","repository":{"id":253130945,"uuid":"842506293","full_name":"ousttrue/rowmath","owner":"ousttrue","description":"zig math library for 3D graphics, row major","archived":false,"fork":false,"pushed_at":"2025-01-22T04:53:03.000Z","size":779,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T18:15:04.977Z","etag":null,"topics":["raylib","sokol","wasm","zig"],"latest_commit_sha":null,"homepage":"https://ousttrue.github.io/rowmath/","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/ousttrue.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-14T13:45:18.000Z","updated_at":"2025-01-22T04:53:06.000Z","dependencies_parsed_at":"2025-01-21T17:32:00.490Z","dependency_job_id":"d6c3bb14-86e6-4ec7-b261-302759fe8bc9","html_url":"https://github.com/ousttrue/rowmath","commit_stats":{"total_commits":94,"total_committers":1,"mean_commits":94.0,"dds":0.0,"last_synced_commit":"465b3a49db61392de27a1033a2351baad3c7dd53"},"previous_names":["ousttrue/rowmath"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Frowmath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Frowmath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Frowmath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Frowmath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ousttrue","download_url":"https://codeload.github.com/ousttrue/rowmath/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245858876,"owners_count":20684057,"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":["raylib","sokol","wasm","zig"],"created_at":"2024-09-25T17:28:15.560Z","updated_at":"2026-01-07T06:08:22.886Z","avatar_url":"https://github.com/ousttrue.png","language":"Zig","readme":"# rowmath\n\n`zig-0.15.1`\n\nzig math library for 3D graphics, row major\n\n## note\n\nライブラリによって可換でないMatrixの乗算順が異なることに注意！\n\nrowmath は `横vec` + `row major` なので、\n乗算順は vec x (local x parent x root x view x projection) となります。\n\n| mul order   | memory layout               | impl                                  |\n| ----------- | --------------------------- | ------------------------------------- |\n| 横vec x mvp | row major(m00, m01, m02...) | rowmath, DirectXMath, System.Numerics |\n| pvm x 縦vec | col major(m00, m10, m20...) | glm, UnityEngine                      |\n\n結果として Mat4 のメモリ上の内容は同じ(transpose の transpose は同じ)になる。\n双方ともに `(m12, m13, m14)` に translation が格納される。\n\n- 一般的な数学書やOpenGLドキュメントは縦vec方式\n- 書籍:実例で学ぶゲーム3D数学 は横vec + row 方式\n\n### 命名\n\n- fromVec3, makeRotation(static 関数)\n- toRotation, transformPoint(member 関数)\n- add, mul, sub, eq, dot, cross\n\n## examples\n\n### sokol\n\n### raylib\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fousttrue%2Frowmath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fousttrue%2Frowmath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fousttrue%2Frowmath/lists"}