fn spawn_entity(pos: Vec3<f32>, painter: &Painter, entity_path: &str)