threers 0.0.7

Drop-in three.js replacement for Rust and WebAssembly (wgpu) — THREE.* API, scene graph, PBR, post-fx, mesh BVH, CSG, an OpenSCAD front end with a watertight exact-CSG kernel, headless render, and native media codecs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Helper utilities mirroring three.js's `BufferGeometryUtils` and assorted
//! stand-alone math helpers (centroid, merge, normal/tangent computation).

mod buffer_geometry_utils;

/// Dependency-free PNG encode/decode (and the DEFLATE codec underneath).
pub mod png;

/// Data-parallel helpers (rayon behind the `parallel` feature, sequential otherwise).
pub mod parallel;

/// sRGB byte <-> linear light, for anything that adds or averages colour.
pub mod srgb;

mod svg_number;
pub use svg_number::format_svg_number;

pub use buffer_geometry_utils::*;