pub struct Projected {
pub x: f32,
pub y: f32,
pub depth: f32,
pub visible: bool,
}Expand description
A point projected into screen space + its camera-space depth (for sorting +
near-plane clipping). Mirrors facett-map3d::camera::Projected.
Fields§
§x: f32Pixel x.
y: f32Pixel y.
depth: f32Camera-space depth (distance in front of the eye, +ve = visible).
visible: boolWhether the point is in front of the near plane (visible).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Projected
impl RefUnwindSafe for Projected
impl Send for Projected
impl Sync for Projected
impl Unpin for Projected
impl UnsafeUnpin for Projected
impl UnwindSafe for Projected
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more