private static Model LoadFromWavefront(string filename) { List<ModelMesh> meshes; WavefrontLoader.LoadModel(filename, out meshes); Model model = new Model(meshes); return model; }
public ModelEntity(float x, float y, float z, string modelName) : base(x, y, z) { _model = Assets.GetModel(modelName); }