mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 02:48:25 -05:00
added function for getting un-synchronized position of the camera (only meant to be used on master for calculation of camera matrix and position)
This commit is contained in:
@@ -73,6 +73,10 @@ const psc& Camera::position() const
|
||||
return _syncedPosition;
|
||||
}
|
||||
|
||||
const psc& Camera::unsynchedPosition() const{
|
||||
return _localPosition;
|
||||
}
|
||||
|
||||
void Camera::setModelMatrix(glm::mat4 modelMatrix){
|
||||
_modelMatrix = std::move(modelMatrix);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user