[−][src]Trait all_is_cubes::triangulator::ToGfxVertex
Implement this trait along with From<BlockVertex>
to provide a representation
of BlockVertex
suitable for the target graphics system.
Associated Types
type Coordinate: BaseNum
Required methods
fn instantiate(
&self,
offset: Vector3<Self::Coordinate>,
lighting: PackedLight
) -> GV
&self,
offset: Vector3<Self::Coordinate>,
lighting: PackedLight
) -> GV
Implementors
impl ToGfxVertex<BlockVertex> for BlockVertex
[src]
Trivial implementation for testing purposes. Discards lighting.
type Coordinate = FreeCoordinate
fn instantiate(
&self,
offset: Vector3<FreeCoordinate>,
_lighting: PackedLight
) -> Self
[src]
&self,
offset: Vector3<FreeCoordinate>,
_lighting: PackedLight
) -> Self