bevy_transform::traits

Trait TransformPoint

Source
pub trait TransformPoint {
    // Required method
    fn transform_point(&self, point: impl Into<Vec3>) -> Vec3;
}
Expand description

A trait for point transformation methods.

Required Methods§

Source

fn transform_point(&self, point: impl Into<Vec3>) -> Vec3

Transform a point.

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.

Implementations on Foreign Types§

Source§

impl TransformPoint for Affine3A

Source§

fn transform_point(&self, point: impl Into<Vec3>) -> Vec3

Source§

impl TransformPoint for Mat4

Source§

fn transform_point(&self, point: impl Into<Vec3>) -> Vec3

Implementors§