bevy-single-variable-function-mesh
A 2D polygon or 3D mesh generated from a single-variable function f(f32) -> f32
. In total, the mesh contains vertices_polygon_upper_half
* vertices_height
+ 2 vertices.
Usage
Add this to your Cargo.toml
:
[dependencies]
bevy-single-variable-function-mesh = "0.2.1"
And this to your .rs file.
use bevy_single_variable_function_mesh::SingleVariableFunctionMesh;
Examples
License
Licensed under either of these:
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)