Crates.io | prima |
lib.rs | prima |
version | 0.5.3 |
source | src |
created_at | 2022-01-05 15:32:33.186295 |
updated_at | 2022-01-17 15:16:46.615763 |
description | Generic 2D library used to handle graph structures and basic geometry. |
homepage | |
repository | https://github.com/fishykins/prima |
max_upload_size | |
id | 508446 |
size | 854,119 |
a collection of geometry and graph based utilities with emphasis on simple code and readability.
Prima is yet another geometry library, built around the core principle of simple code and readability. It provides helper structs for primative shapes, basic collision detection and a suite of graph structures. The graphs are vector orientated and are built with procedural world building in mind. Generic floats have been avoided in favour of explicitly typed structs, following the example of glam. Support for the crate vek may be implimented in future updates.
As with most rust crates, this can be imported to a project using crates.io. Follow the link for more infomation.
[rendering
] - adds functionality for exporting shapes and graphs to image files.
Licensed under either of
at your option.
Contributions are both welcome and appreciated!
Contributions in any form (issues, pull requests, etc.) to this project must adhere to Rust's Code of Conduct.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Caspar Green - caspar.m.green@gmail.com
Project Link: https://github.com/fishykins/prima