Struct Surface
pub struct Surface {
pub normal: [f32; 3],
pub vertices: [[i16; 3]; 3],
}
Expand description
An SM64 surface (currently missing several fields).
Fields§
§normal: [f32; 3]
The surface’s normal vector.
vertices: [[i16; 3]; 3]
The surface’s vertex coordinates.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Surface
impl RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl UnwindSafe for Surface
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