private void CreateGround() { var model = new GenericModel(GetModel("ground"), Vector3.Zero, Vector3.Zero, Vector3.One, GraphicsDevice); Models.Add(model); }
private void CreateShip() { var model = new GenericModel(GetModel("ship"), new Vector3(0, 400, 0), Vector3.Zero, new Vector3(1f), GraphicsDevice); Models.Add(model); }
private void CreateModel(Model model, Vector3 position, Vector3 rotation, Vector3 scale) { var genericModel = new GenericModel(model, position, rotation, scale, GraphicsDevice); Models.Add(genericModel); }