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
fn aabb(&self) -> AxisAlignedBoundingBox
fn aabb(&self) -> AxisAlignedBoundingBox
Returns the AxisAlignedBoundingBox for this geometry.
fn transformation(&self) -> Mat4
fn transformation(&self) -> Mat4
Returns the local to world transformation applied to this geometry.