{"id":31974469,"url":"https://github.com/masonlet/starletmath","last_synced_at":"2025-10-14T20:17:12.481Z","repository":{"id":312199916,"uuid":"1045990497","full_name":"Masonlet/StarletMath","owner":"Masonlet","description":"Lightweight header-only math library for Starlet projects","archived":false,"fork":false,"pushed_at":"2025-09-17T21:15:19.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-17T23:25:39.145Z","etag":null,"topics":["cpp","header-only","math","opengl","starlet","vulkan"],"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/Masonlet.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-28T02:59:20.000Z","updated_at":"2025-09-17T21:15:24.000Z","dependencies_parsed_at":"2025-08-29T07:31:42.207Z","dependency_job_id":"8a82d5c6-bde0-4c11-9b8c-f086156c9df2","html_url":"https://github.com/Masonlet/StarletMath","commit_stats":null,"previous_names":["masonlet/starletmath"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Masonlet/StarletMath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masonlet%2FStarletMath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masonlet%2FStarletMath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masonlet%2FStarletMath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masonlet%2FStarletMath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Masonlet","download_url":"https://codeload.github.com/Masonlet/StarletMath/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masonlet%2FStarletMath/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021014,"owners_count":26086947,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cpp","header-only","math","opengl","starlet","vulkan"],"created_at":"2025-10-14T20:17:08.400Z","updated_at":"2025-10-14T20:17:12.472Z","avatar_url":"https://github.com/Masonlet.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StarletMath\nA lightweight header-only math library for **Starlet** projects designed with OpenGL engines in mind.\n\n⚠️ **Note**\nThis is **NOT** intended to be a complete math library!\nIt's minimal and straightforward to make the math operations easier to understand and extend.\nThis makes it perfect for learning, experimentation, but not a drop-in replacement for full-fledged math libraries.\n\n## Features\n\n- Basic vector types: `Vec2`, `Vec3`, `Vec4`\n- `Transform` struct for position, rotation, scale\n- `Mat4` 4x4 matrix with:\n    - Identity, transpose, inverse\n    - Translation, rotation, scaling\n    - `lookAt` and `perspective` helpers\n    - Composition with `Transform`\n- Constants and helpers:\n    `pi`, `radians()`, `degrees()`\n- **Starlet** Project Constants\n\n## Using as a Dependency\n\n```cmake\ninclude(FetchContent)\n\nFetchContent_Declare(StarletMath GIT_REPOSITORY https://github.com/Masonlet/StarletMath.git GIT_TAG main)\nFetchContent_MakeAvailable(StarletMath)\n\ntarget_link_libraries(YourAppName PRIVATE StarletMath)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasonlet%2Fstarletmath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasonlet%2Fstarletmath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasonlet%2Fstarletmath/lists"}