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
/// One frame's worth of pointer input. The caller is responsible for
/// translating its platform's events into this shape and calling
/// `OrbitControls::update`.
#[derive(Debug, Clone, Copy, Default)]pubstructPointerEvent{/// Cumulative pointer delta in pixels.
pubdx:f32,
pubdy:f32,
/// Scroll delta (positive = zoom in / scroll up).
pubwheel:f32,
/// True while the rotate button is held (left mouse).
pubrotating:bool,
/// True while the pan button is held (right mouse or shift+left).
pubpanning:bool,
/// Pointer position in NDC (−1..1, +y up), for dolly-to-cursor. Read only
/// when `wheel != 0` and the controls have `zoom_to_cursor` on.
pubcursor:(f32, f32),
}