{"id":20565035,"url":"https://github.com/aermoss/vega","last_synced_at":"2025-04-14T15:15:25.662Z","repository":{"id":111008339,"uuid":"526253997","full_name":"Aermoss/VEGA","owner":"Aermoss","description":"A simple 3D game engine written in C++ using OpenGL.","archived":false,"fork":false,"pushed_at":"2024-02-25T18:34:48.000Z","size":80335,"stargazers_count":40,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T15:15:03.923Z","etag":null,"topics":["cpp","game-engine","game-engine-3d","opengl","opengl3","simple-game-engine"],"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/Aermoss.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":"2022-08-18T14:50:50.000Z","updated_at":"2025-03-31T10:55:07.000Z","dependencies_parsed_at":"2024-11-16T04:40:47.412Z","dependency_job_id":null,"html_url":"https://github.com/Aermoss/VEGA","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aermoss%2FVEGA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aermoss%2FVEGA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aermoss%2FVEGA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aermoss%2FVEGA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aermoss","download_url":"https://codeload.github.com/Aermoss/VEGA/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904637,"owners_count":21180835,"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":["cpp","game-engine","game-engine-3d","opengl","opengl3","simple-game-engine"],"created_at":"2024-11-16T04:30:42.464Z","updated_at":"2025-04-14T15:15:25.633Z","avatar_url":"https://github.com/Aermoss.png","language":"C++","readme":"# VEGA Engine\nA simple 3D game engine written in C++ using OpenGL.\n\n# Examples\n## Creating a window.\n```c++\n#include \u003cvega/vega.hpp\u003e\n\nint main(int argc, const char* argv[]) {\n    vega::VEGAWindow window(1200, 600, \"VEGA Window\");\n\n    while (!window.shouldClose()) {\n        window.pollEvents();\n        window.clear();\n        window.checkErrors();\n        window.swapBuffers();\n    }\n    \n    window.destroy();\n    return 0;\n}\n```\n\n## Rendering a model.\n```c++\n#include \u003cvega/vega.hpp\u003e\n\nint main(int argc, const char* argv[]) {\n    vega::VEGAWindow window(1200, 600, \"VEGA Window\");\n\n    vega::VEGAShader shader(\n        vega::VEGAReadFile(\"shaders/default.vert\"),\n        vega::VEGAReadFile(\"shaders/default.frag\")\n    );\n\n    vega::VEGACamera camera(\u0026window, 45.0f, 0.1f, 1000.0f);\n    vega::VEGAModel model(\"res/models/crow/scene.gltf\");\n    \n    shader.use();\n    glUniform4fv(shader.getUniformLocation(\"lightColor\"), 1, (float*) glm::value_ptr(glm::vec4(1.0f, 1.0f, 1.0f, 1.0f)));\n    glUniform3fv(shader.getUniformLocation(\"lightPosition\"), 1, (float*) glm::value_ptr(glm::vec3(0.5f, 0.5f, 0.5f)));\n    glUniform1f(shader.getUniformLocation(\"ambient\"), 0.2f);\n    shader.unuse();\n\n    while (!window.shouldClose()) {\n        window.pollEvents();\n        camera.processInputs();\n        window.clear();\n        model.render(\u0026shader, \u0026camera);\n        window.checkErrors();\n        window.swapBuffers();\n    }\n\n    model.destroy();\n    shader.destroy();\n    window.destroy();\n    return 0;\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faermoss%2Fvega","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faermoss%2Fvega","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faermoss%2Fvega/lists"}