Struct client::Frustum [] [src]

pub struct Frustum {
    // some fields omitted
}

Methods

impl Frustum
[src]

fn new() -> Frustum

fn set_cam_internals(&mut self, angle: f32, ratio: f32, near: f32, far: f32)

fn set_cam_def(&mut self, pos: Point3f, look_at: Vector3f, up: Vector3f)

fn point_in_frustum(&self, p: &Point3f) -> LOCATION

fn sphere_in_frustum(&self)

fn box_in_frustum(&self, points: [&Point3f; 8]) -> LOCATION