Skip to main content

Format

Trait Format 

Source
pub trait Format {
    const BASIS: Mat4;
}
Expand description

Base trait for supported 3D file formats.

Required Associated Constants§

Source

const BASIS: Mat4

The orthogonal basis matrix defining the format’s coordinate system.

You can translate from an input format’s coordinate system into an output format’s coordinate system with the output_basis.inverse() * input_basis matrix.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§