pub type LayoutToWorldFastTransform = FastTransform<LayoutPixel, WorldPixel>;

Aliased Type§

enum LayoutToWorldFastTransform {
    Offset(Vector2D<f32, LayoutPixel>),
    Transform {
        transform: Transform3D<f32, LayoutPixel, WorldPixel>,
        inverse: Option<Transform3D<f32, WorldPixel, LayoutPixel>>,
        is_2d: bool,
    },
}

Variants§

§

Offset(Vector2D<f32, LayoutPixel>)

A simple offset, which can be used without doing any matrix math.

§

Transform

A 2D transformation with an inverse.