Trait three_d::renderer::object::Geometry[][src]

pub trait Geometry: Shadable {
    fn aabb(&self) -> AxisAlignedBoundingBox;
fn transformation(&self) -> Mat4; }
Expand description

Represents a 3D geometry.

Required methods

Returns the AxisAlignedBoundingBox for this geometry.

Returns the local to world transformation applied to this geometry.

Implementations on Foreign Types

Implementors