fn cuboid_vertex(half_length: Vec3) -> [Vec3; 8] {
    let x = half_length.x;
    let y = half_length.y;
    let z = half_length.z;
    let v3 = Vec3::new;
    [
        v3(x, y, z),
        v3(-x, y, z),
        v3(-x, y, -z),
        v3(x, y, -z),
        v3(x, -y, -z),
        v3(x, -y, z),
        v3(-x, -y, z),
        v3(-x, -y, -z),
    ]
}
/// Vertex of a cuboid centered on origin
Vertex of a cuboid centered on origin
Vertex of a cuboid centered on origin
fn cuboid_vertex(half_length: Vec3) -> [Vec3; 8] {
    let x = half_length.x;
    let y = half_length.y;
    let z = half_length.z;
    let v3 = Vec3::new;
    [
        v3(x, y, z),
        v3(-x, y, z),
        v3(-x, y, -z),
        v3(x, y, -z),
        v3(x, -y, -z),
        v3(x, -y, z),
        v3(-x, -y, z),
        v3(-x, -y, -z),
    ]
}
fn cuboid_vertex ( half_length : Vec3 ) -> [ Vec3 ; 8 ] { let x = half_length . x ; let y = half_length . y ; let z = half_length . z ; let v3 = Vec3 :: new ; [ v3 ( x , y , z ) , v3 ( - x , y , z ) , v3 ( - x , y , - z ) , v3 ( x , y , - z ) , v3 ( x , - y , - z ) , v3 ( x , - y , z ) , v3 ( - x , - y , z ) , v3 ( - x , - y , - z ) , ] }
Vertex of a cuboid centered on origin
Vertex of a cuboid centered on origin
half_length
Vec3
half_length
Vec3