pub struct EmptyCone {
pub orig: Vec3,
pub dir: Vec3,
pub angle: f64,
pub begin: f64,
pub end: f64,
pub texture: Texture,
}Fields§
§orig: Vec3Apex of the cone
dir: Vec3§angle: f64Opening of the cone (degrees)
begin: f64Distance from the apex to one end
end: f64Distance from the apex to the other end (should be bigger that begin)
texture: TextureImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EmptyCone
impl RefUnwindSafe for EmptyCone
impl Send for EmptyCone
impl Sync for EmptyCone
impl Unpin for EmptyCone
impl UnsafeUnpin for EmptyCone
impl UnwindSafe for EmptyCone
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