pub struct Portal {
pub position: Vec3,
pub width: f32,
pub direction: Vec3,
pub poly_refs: [PolyRef; 2],
}Expand description
Portal between clusters
Fields§
§position: Vec3Position of the portal
width: f32Width of the portal
direction: Vec3Direction vector of the portal
poly_refs: [PolyRef; 2]Polygons on either side of the portal
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Portal
impl RefUnwindSafe for Portal
impl Send for Portal
impl Sync for Portal
impl Unpin for Portal
impl UnsafeUnpin for Portal
impl UnwindSafe for Portal
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