{"id":20987225,"url":"https://github.com/haxpor/lgl","last_synced_at":"2026-04-24T15:33:11.109Z","repository":{"id":149552995,"uuid":"200822553","full_name":"haxpor/lgl","owner":"haxpor","description":"Initially as a studying repo from learnopengl.com but now turned into my testbed involved graphics programming with opengl 3.3 + 3D maths.","archived":false,"fork":false,"pushed_at":"2020-06-23T07:08:54.000Z","size":9945,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-31T00:39:38.969Z","etag":null,"topics":["cpp","learnopengl","opengl","opengl330","studying"],"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/haxpor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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":"2019-08-06T09:43:45.000Z","updated_at":"2021-05-01T14:27:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ce56797-cf7a-4214-81c6-12414fd798bf","html_url":"https://github.com/haxpor/lgl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/haxpor/lgl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Flgl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Flgl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Flgl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Flgl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haxpor","download_url":"https://codeload.github.com/haxpor/lgl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Flgl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32228989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","learnopengl","opengl","opengl330","studying"],"created_at":"2024-11-19T06:16:21.338Z","updated_at":"2026-04-24T15:33:11.089Z","avatar_url":"https://github.com/haxpor.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build\n\nMost examples (preferred \"testbed\") are self-contained and have their own separate `Makefile` in its directory,\nlink against few shared source code in `src/../externals`.\n\nOthers, mostly inside `Misc` and\nother which only has main source file can be built via `make.sh` script.\n\n## Build via `make.sh`\n\nAt the root directory level of this repo, Execute `./make.sh` like the following\n\n`./make.sh build \u003ctarget .cpp file\u003e`\n\nfor example\n\n`./make.sh build src/Shader.cpp`\n\nit will produce `a.out` file at the root directory, run it with `./a.out`. Any resource it needs to\naccess is inside `data` directory.\n\nIt supprots following commands\n\n* `./make.sh build src/\u003cdirectory\u003e/\u003cmain-source-file.cpp\u003e` - to build target source file, provided that main function is in this file\n* `./make.sh help` - print help message\n\n# Dependencies\n\nIncluded in `external/` directory\n\n* `glad` - generated from its webservice for OpenGL 3.3 API, Core profile (subject to be gradually added more API support later if need)\n* `stb_image` - for loading image asset\n* `glm` - for OpenGL Mathematics\n\nYou need to install the following\n\n* `glfw` - for windowing stuff (package name `libglfw3-dev` for Debian-based/Ubuntu)\n\n# Note\n\n* At the near end of completion of study (thus this project), `CMake` build script will be added for convenience in building all demo programs. For now, it makes no sense to incur having it while studying. Modify `make.sh` as needed for your system to make it work for the time being.\n* **Beware**: Tested only on Linux, technically should work the same on other platforms but might need slight modification on build script, or particular code. Also some sample make uses of symlink to get access to `../../data` conveniently.\n* Code is aimed to be as educational for studying purpose as first priority, so not all optimization detail will be handled, nor fully clean code will be architected.\n\n# License\n\nAll non-source asset from learnopengl.com, thus adhere to its original.\n\nThere are code from Learnopengl.com exists in this repository, and it is licensed as CC BY-NC 4.0 license\nas published by Creative Commons, either version 4 of the License, or (at your option) any later version\n(as can be seen [here](https://github.com/JoeyDeVries/LearnOpenGL/blob/master/LICENSE.md)).\n\nAdapted or modified source code also adhere to such license as well, unless such code is totally new\nand developed from start which you can use your own judgement comparing source code from learngopengl.com\nand here.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxpor%2Flgl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaxpor%2Flgl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxpor%2Flgl/lists"}