protected override void OnDraw(FrameArgs e) { base.OnDraw(e); using (_cam.Begin()) { // using the camera... using (_lights.Begin()) { // ...and the lights... _model.Draw(ref _world); // ...draw the model! } } }
protected override void OnDraw(FrameArgs e) { base.OnDraw(e); using (_cam.Begin()) { // using the camera... using (_lights.Begin()) { // ...and the lights... // draw the model! _model.Draw(Matrix4.Identity); } } }