packer-3d
Example of what you can make. Rendered using the Bevy data-driven game engine.
Quickstart
Run this in your rust project to add packer-3d to your dependencies.
cargo add packer-3d
Documentation
Example
After adding the dependency, you can test it with this example:
use ;
Which should output:
[
Box3D {
position: Vector3D {
x: 0,
y: 0,
z: 0,
},
size: Vector3D {
x: 300,
y: 100,
z: 200,
},
id: 1,
origin: 0,
},
Box3D {
position: Vector3D {
x: 300,
y: 0,
z: 0,
},
size: Vector3D {
x: 200,
y: 100,
z: 300,
},
id: 2,
origin: 0,
},
Box3D {
position: Vector3D {
x: 0,
y: 0,
z: 200,
},
size: Vector3D {
x: 300,
y: 100,
z: 200,
},
id: 3,
origin: 0,
},
]