FIX:m_target of Camera is not updated

m_target of Camera is not updated in these api:  Camera::translate Camera::set_distance

Change-Id: I2a6a878700849e062fca7a65e53baa03d64312c4
(cherry picked from commit 835ee9fdea77259c155ceae4d3abe62385e7a853)
This commit is contained in:
zhou.xu 2023-05-10 15:16:11 +08:00 committed by Lane.Wei
parent 95d57386b0
commit 28532b990b
2 changed files with 12 additions and 1 deletions

View file

@ -163,6 +163,7 @@ private:
void set_default_orientation();
Vec3d validate_target(const Vec3d& target) const;
void update_zenit();
void update_target();
};
} // GUI