[−][src]Struct hexasphere::SquareBase
Implements a square as the base shape.
- 4 vertices
- 2 faces
- 5 edges
This is a square on the XZ plane. The circumscribed circle on the square has radius 1.0. This is done to preserve the accuracy of the subdivisions at higher levels of subdivision.
Trait Implementations
impl BaseShape for SquareBase
[src]
fn initial_points() -> &'static [Vec3A]
[src]
fn triangles() -> &'static [Triangle]
[src]
const EDGES: usize
[src]
fn interpolate(a: Vec3A, b: Vec3A, p: f32) -> Vec3A
[src]
fn interpolate_half(a: Vec3A, b: Vec3A) -> Vec3A
[src]
fn interpolate_multiple(
a: Vec3A,
b: Vec3A,
indices: &[u32],
points: &mut [Vec3A]
)
[src]
a: Vec3A,
b: Vec3A,
indices: &[u32],
points: &mut [Vec3A]
)
Auto Trait Implementations
impl RefUnwindSafe for SquareBase
impl Send for SquareBase
impl Sync for SquareBase
impl Unpin for SquareBase
impl UnwindSafe for SquareBase
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,