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
//! Audio data types. Modeled on three.js's `Audio`/`AudioListener`/
//! `PositionalAudio`/`AudioAnalyser`. The actual playback backend is left to
//! the user (cpal natively, Web Audio in wasm) — this crate only owns the
//! data shape so other subsystems (scene graph, animation) can reference it.

mod analyser;
mod backend;
mod listener;
mod positional;
mod source;

pub use analyser::AudioAnalyser;
pub use backend::{AudioBackend, NoopBackend};
pub use listener::AudioListener;
pub use positional::PositionalAudio;
pub use source::Audio;