used newly CameraControl->SetTarget

This commit is contained in:
2022-01-27 10:20:49 +08:00
parent 392d9b42cb
commit c11f0cde66
2 changed files with 3 additions and 2 deletions

View File

@@ -96,7 +96,8 @@ private:
Add(ro_plane_grid[2],rotate(HGL_RAD_90,1,0,0));
camera->pos=Vector3f(200,200,200);
camera->Refresh();
camera_control->SetTarget(Vector3f(0,0,0));
camera_control->Refresh();
render_root.RefreshMatrix();
render_list->Expend(camera->info,&render_root);