strange_attractor_renderer::primitives

Struct Vec3

source
pub struct Vec3 {
    pub x: f64,
    pub y: f64,
    pub z: f64,
}

Fields§

§x: f64§y: f64§z: f64

Implementations§

source§

impl Vec3

source

pub fn new(x: f64, y: f64, z: f64) -> Self