egui/examples/custom_3d_glow
ItsEthra 4d1e858a52
Use total_cmp for clamping drag value in order to avoid floating point ambiguities (#2213)
* Use total_cmp for clamping DragValue

* Added test for clamping

* Increase MSRV in all crates

* Increased rust version for github actions and lib.rs

* Inversed ranges are now working properply with clamp_to_range

* Added more tests
2022-11-02 19:38:39 +01:00
..
src Re-implement PaintCallbacks With Support for WGPU (#1684) 2022-05-28 17:52:36 +02:00
Cargo.toml Use total_cmp for clamping drag value in order to avoid floating point ambiguities (#2213) 2022-11-02 19:38:39 +01:00
README.md Move examples out of eframe/examples into examples/ (#1486) 2022-04-13 16:13:24 +02:00

This demo shows how to embed 3D rendering using glow in eframe.

This is very advanced usage, and you need to be careful.

If you want an easier way to show 3D graphics with egui, take a look at the custom_3d_three-d.rs example.

If you are content of having egui sit on top of a 3D background, take a look at:

cargo run -p custom_3d_glow