pub struct ProjectedPoint64 {
pub x: f64,
pub y: f64,
pub depth: f64,
pub w: f64,
pub clipped: bool,
}Expand description
A projected screen position in f64 logical pixels.
Fields§
§x: f64§y: f64§depth: f64Normalized device depth in 0..=1 for front-facing points.
w: f64Clip-space w, positive in front of the camera.
clipped: boolTrue when the point is behind or on the near plane.
Trait Implementations§
Source§impl Clone for ProjectedPoint64
impl Clone for ProjectedPoint64
impl Copy for ProjectedPoint64
Source§impl Debug for ProjectedPoint64
impl Debug for ProjectedPoint64
Source§impl PartialEq for ProjectedPoint64
impl PartialEq for ProjectedPoint64
impl StructuralPartialEq for ProjectedPoint64
Auto Trait Implementations§
impl Forget for ProjectedPoint64
impl Freeze for ProjectedPoint64
impl Move for ProjectedPoint64
impl RefUnwindSafe for ProjectedPoint64
impl Send for ProjectedPoint64
impl Sync for ProjectedPoint64
impl Unpin for ProjectedPoint64
impl UnsafeUnpin for ProjectedPoint64
impl UnwindSafe for ProjectedPoint64
Blanket Implementations§
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