pub fn with_position<P: Into<Point3<f32>>>(mut self, pos: P) -> Self {
        use amethyst_core::cgmath::EuclideanSpace;

        let trans = Matrix4::from_translation(pos.into().to_vec());
        self.transform.concat_self(&trans);
        self
    }
/// Sets the position of the mesh in 3D space.
Sets the position of the mesh in 3D space.
Sets the position of the mesh in 3D space .
pub fn with_position<P: Into<Point3<f32>>>(mut self, pos: P) -> Self {
        use amethyst_core::cgmath::EuclideanSpace;
        let trans = Matrix4::from_translation(pos.into().to_vec());
        self.transform.concat_self(&trans);
        self
    }
pub fn with_position < P : Into < Point3 < f32 > > > ( mut self , pos : P ) -> Self { use amethyst_core :: cgmath :: EuclideanSpace ; let trans = Matrix4 :: from_translation ( pos . into ( ) . to_vec ( ) ) ; self . transform . concat_self ( & trans ) ; self }
Sets the position of the mesh in 3D space.
Sets the position of the mesh in 3D space .
mut self
pos
P
mut self
pos
P