{"repo":"Jaysmito101/cgl","free":true,"listed":false,"github":"https://github.com/Jaysmito101/cgl","clone":"git clone https://github.com/Jaysmito101/cgl.git","description":"CGL (C Game Library) is a multipurpose library mainly for recreational coding / demo scenes / prototyping / small games / experimentation.","language":"C","stars":460,"topics":["3d","c9","graphics","opengl","cpp","phong-lighting","rendering","tilemap","game","gamedev"],"license":"MIT","category":"game-templates","readme_excerpt":"Index Intro Platforms Features Showreels CGL CGL (C Graphics Library) is a multipurpose library mainly for recreational coding / demo scenes / prototyping / small games / experimentation. This has a lot of utilities for graphics . And best of all all of it is inside a single header file cgl.h . Also CGL is made purely in C but is also compatible with C++. NOTE : Do not think that header only means its going to increase compile time as the implementation needs be enabled only for 1 file using #define CGL IMPLEMENTATION . See Examples Target Platforms - Windows - Linux - MacOS (untested) - WebAssembly (Beta) - Android (Coming Soon) What does CGL Provide? cgl-rs - A Rust wrapper ( https://crates.io/crates/cgl-rs ) cgl-py - A python wrapper ( https://pypi.org/project/cgl-py ) Windowing library (Optional) - You can completely disable it by #define CGL EXCLUDE WINDOW API - This windowing library is primarily a wrapper GLFW along with a few extra functionalities. Example : In case you are using some library like nuklear for GUI it will mess up all glfw callbacks so with CGL you can restore the CGL callbacks with a call to CGL window resecure callbacks Utility functionalities - Reading/Writing files - Random float/int/bool/vec2/vec3/color generation - CRC32/CRC64 - ROT13 encryption - General Purpose Hashing Functions refer here - Colored printf (red, green, blue, gray/yellow) - Point/Triangle intersection check - 3D transform API (matrix calculation, etc) - TODO: [ MD5 / SHA 256 / SH","default_branch":null,"files":null,"tree":[],"storefront":"/r/Jaysmito101","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Jaysmito101/cgl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}