struct
Orbit
pub struct Orbit {
pub azimuth: f32,
pub elevation: f32,
pub zoom: f32,
}Orbit-control state for a scene3d(controls: "orbit"): offsets from the template's camera.
Fields
Methods
key
pub fn key(&mut self, key: &str) -> boolArrow keys rotate, +/- zoom; returns whether the key was used.