pub fn new(pos: Position, velocity: glm::DVec3) -> Self {
        Self {
            position: vec![pos.x, pos.y, pos.z],
            rotation: vec![pos.yaw, pos.pitch],
            velocity: vec![velocity.x, velocity.y, velocity.z],
        }
    }
/// Creates a `BaseEntityData` from a position and velocity.
Creates a `BaseEntityData` from a position and velocity.
Creates a ` BaseEntityData ` from a position and velocity .
pub fn new(pos: Position, velocity: glm::DVec3) -> Self {
        Self {
            position: vec![pos.x, pos.y, pos.z],
            rotation: vec![pos.yaw, pos.pitch],
            velocity: vec![velocity.x, velocity.y, velocity.z],
        }
    }
pub fn new ( pos : Position , velocity : glm :: DVec3 ) -> Self { Self { position : vec ! [ pos x pos y pos z ] , rotation : vec ! [ pos yaw pos pitch ] , velocity : vec ! [ velocity x velocity y velocity z ] , } }
Creates a `BaseEntityData` from a position and velocity.
Creates a ` BaseEntityData ` from a position and velocity .
pos
Position
velocity
glm::DVec3
pos
Position
velocity
glm::DVec3