client::view
pub struct Sun { // some fields omitted }
impl Sun
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