Struct client::view::Sun [] [src]

pub struct Sun {
    // some fields omitted
}

Methods

impl Sun
[src]

fn new(context: Rc<GameContext>) -> Self

fn draw_sun<S: Surface>(&self, surface: &mut S, camera: &Camera)

fn update(&mut self, pos: Point3f)

fn position(&self) -> Point3f