{"id":23146789,"url":"https://github.com/yoyoengine/lilith","last_synced_at":"2025-04-04T13:24:40.824Z","repository":{"id":268162696,"uuid":"903225617","full_name":"yoyoengine/lilith","owner":"yoyoengine","description":"A crude linear algebra library, created for learning purposes and for use in yoyoengine.","archived":false,"fork":false,"pushed_at":"2025-01-07T21:39:31.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-09T23:14:06.976Z","etag":null,"topics":["linear-algebra","math","matrix-multiplication"],"latest_commit_sha":null,"homepage":"","language":"C","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/yoyoengine.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-12-14T03:32:09.000Z","updated_at":"2025-01-07T21:39:35.000Z","dependencies_parsed_at":"2024-12-14T20:35:49.727Z","dependency_job_id":null,"html_url":"https://github.com/yoyoengine/lilith","commit_stats":null,"previous_names":["yoyoengine/lilith"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoyoengine%2Flilith","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoyoengine%2Flilith/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoyoengine%2Flilith/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoyoengine%2Flilith/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoyoengine","download_url":"https://codeload.github.com/yoyoengine/lilith/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247183361,"owners_count":20897577,"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":["linear-algebra","math","matrix-multiplication"],"created_at":"2024-12-17T16:38:08.807Z","updated_at":"2025-04-04T13:24:40.799Z","avatar_url":"https://github.com/yoyoengine.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lilith Linear Algebra\n\nA super simple linear algebra library created for use with [yoyoengine](https://github.com/yoyoengine).\n\nNo gaurantees are made for correctness or optimization, I rolled this myself for fun and to learn.\n\n![Evangelion Reference](https://static.wikia.nocookie.net/evangelion/images/9/99/Lilith_with_Lance.png/revision/latest/thumbnail/width/360/height/360?cb=20120210032404)\n\n## Features\n\n- 3x3 matrix operations\n- 2D vector operations\n\n## Example\n\n```c\n#include \u003cLilith.h\u003e\n\nint main() {\n    mat3_t identity = lla_mat3_identity();\n    mat3_t scale = lla_mat3_scale(identity, 2.0f);\n\n    mat3_t test = lla_mat3(10.0f, 80.0f, 4.0f, 5.0f, 78.0f, 9.0f, 47.0f, 9.0f, 5.0f);\n\n    mat3_t result = lla_mat3_mult(scale, test);\n\n    const char* res_str = lla_mat3_string(result);\n    printf(\"%s\\n\", res_str);\n    free((void*)res_str);\n\n    /*\n        Output:\n        [20.000000, 160.000000, 8.000000]\n        [10.000000, 156.000000, 18.000000]\n        [94.000000, 18.000000, 10.000000]\n    */\n\n}\n```\n\n## Todo\n\n- vec3 and appropriate mult funcs?\n- row/col extraction?\n- unit tests?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoyoengine%2Flilith","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoyoengine%2Flilith","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoyoengine%2Flilith/lists"}