1 unstable release

0.0.1 Aug 5, 2024

#49 in #shapes


Used in mod3d

MIT/Apache

290KB
5.5K SLoC

mod3d_shapes

This will provide some simple shapes to allow creation of 3d objects for mod3d_base and mod3d_gltf.

As such the models will be able to be rendered for simple games through the GPU implementations in mod3d_gl, and also to be saved as GLTF files as assets to be loaded in other systems, or games using the mod3d infrastructure.

Currently it supports a (subdividable) icosphere with texture mapping to provide high definition spherical image compression, and gridded rectangular regions that will permit extrusions to produce 3D objects.

Usage

cargo add mod3d_shapes

Releases

Release notes are available in RELEASES.md.

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~1.3–2.3MB
~46K SLoC