Crate cgl_rs

Source
Expand description

The CGL Library

CGL is a library for creating cross-platform graphical applications and mainly creative coding.

You can find the CGL main repository at : https://github.com/Jaysmito101/cgl

Also You can find a huge collections of creative coding projects, simultions, games made at : https://github.com/Jaysmito101/cgl/tree/main/examples

Re-exports§

pub use window::*;

Modules§

graphics
The CGL Graphics Module
logger
This module contains functions for logging.
math
Math Library of CGL
noise
The CGL Noise Module.
utils
This module contains CGL utility functions, as well some miscellaneous functions.
window
The window manager module is responsible for creating and managing windows. It is also responsible for handling input events and passing them to the appropriate window.

Macros§

log_error
Logs an error message with the specified format string and arguments.
log_info
Logs an info message with the specified format string and arguments.
log_trace
Logs a trace message with the specified format string and arguments.
log_warning
Logs a warning message with the specified format string and arguments.

Functions§

init
Initializes the CGL library.
shutdown
Shuts down the CGL library.