[][src]Struct duku::window::Orbit

pub struct Orbit { /* fields omitted */ }

Simple orbit camera controller.

Implementations

impl Orbit[src]

pub fn new(pivot: impl Into<Vec3>) -> Self[src]

Create a orbit controller

pub fn update(
    &mut self,
    camera: &mut Camera,
    events: &mut Events,
    delta_time: f32
)
[src]

Update camera

Trait Implementations

impl Clone for Orbit[src]

impl Copy for Orbit[src]

impl Debug for Orbit[src]

Auto Trait Implementations

impl RefUnwindSafe for Orbit

impl Send for Orbit

impl Sync for Orbit

impl Unpin for Orbit

impl UnwindSafe for Orbit

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.