Type Alias gltf::mesh::util::ReadTangents

source ·
pub type ReadTangents<'a> = Iter<'a, [f32; 4]>;
Expand description

XYZW vertex tangents of type [f32; 4] where the w component is a sign value (-1 or +1) indicating the handedness of the tangent basis.

Aliased Type§

enum ReadTangents<'a> {
    Standard(ItemIter<'a, [f32; 4]>),
    Sparse(SparseIter<'a, [f32; 4]>),
}

Variants§

§

Standard(ItemIter<'a, [f32; 4]>)

Standard accessor iterator.

§

Sparse(SparseIter<'a, [f32; 4]>)

Iterator for accessor with sparse values.