Struct e2rcore::implement::render::primitive::SphereIcosahedron
[−]
[src]
pub struct SphereIcosahedron {
pub _pos: Mat3x1<f32>,
pub _radius: f32,
pub _index: usize,
pub _positions: Vec<[f32; 3]>,
}Fields
_pos: Mat3x1<f32>
_radius: f32
_index: usize
_positions: Vec<[f32; 3]>
Methods
impl SphereIcosahedron[src]
fn init(pos: Mat3x1<f32>, radius: f32) -> SphereIcosahedron[src]
fn add_vertex(&mut self, p: &[f32])[src]
fn get_middle_point(&mut self, p1: usize, p2: usize) -> usize[src]
Trait Implementations
impl Clone for SphereIcosahedron[src]
fn clone(&self) -> SphereIcosahedron[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more