We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6e976f commit 438093fCopy full SHA for 438093f
1 file changed
src/gui/guihelperVSG.cpp
@@ -69,7 +69,8 @@ void GUIImplVSG::Init(UI& ui, chrono::ChSystem* system, const char* title) {
69
}
70
71
void GUIImplVSG::SetCamera(double x, double y, double z, double dirx, double diry, double dirz) {
72
- pVis->AddCamera({x, y, z}, {dirx, diry, dirz});
+ pVis->SetCameraPosition({x, y, z});
73
+ pVis->SetCameraTarget({dirx, diry, dirz});
74
75
76
bool GUIImplVSG::IsRunning(double timestep) {
0 commit comments