Crates.io | ombre |
lib.rs | ombre |
version | 0.6.7 |
source | src |
created_at | 2023-12-10 16:36:19.596978 |
updated_at | 2023-12-10 21:27:47.896072 |
description | Shadowy game and graphics library for Rust |
homepage | https://cloudhead.io |
repository | |
max_upload_size | |
id | 1064342 |
size | 231,507 |
Une ombre est née, dans la lueur d'un ciel étoilé..
Ombre is a "New Jersey" style1 library designed for games and graphics programming on the desktop.
It provides a thin layer of abstraction over the underlying context creation and graphics frameworks while keeping dependencies to a bare minimum, and trying to do the few things it does really well. Ombre also comes with support for various simple file formats that are designed to be easy encode and decode. This is in contrast to more popular formats like PNG and TTF which would likely call for external libraries.
Despite all of the above, Ombre is not meant as a "toy" library. Performance, stability, flexibility and developer friendliness are not compromised. Though certain defaults are chosen, such as the graphics backend, the user is able to easily swap out backends for something more appropriate to their target platform.
glfw
2sokol-gfx
3glow
4.rgba
) file formatmath
module with 2D and 3D vectors and transformsglow
crate is used
for its simplicity, portability, and bare-bones type safety.Big chunks of this library were adapted from miniquad
by Fedor Logachev,
which itself is adapted from sokol
, by Andre Weissflog. Additionally, much
of the 3D math code was borrowed from cgmath
, and euclid
by the Servo
Project Developers. Finally it's worth mentioning that druid
, by Raph
Levien has served as inspiration for the UI code, and some of the math code.
Dual-licensed under MIT and Apache.