bevy-single-variable-function-mesh 0.2.1

A 2D polygon or 3D mesh generated from a single-variable function `f(f32) -> f32`.
Documentation

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: