mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-19 02:10:26 -06:00
Working on global settings integrated in gui but no functionality yet
This commit is contained in:
@@ -119,7 +119,11 @@ glm::mat4 SGCTWindowWrapper::viewProjectionMatrix() const {
|
||||
void SGCTWindowWrapper::setNearFarClippingPlane(float nearPlane, float farPlane) {
|
||||
sgct::Engine::instance()->setNearAndFarClippingPlanes(nearPlane, farPlane);
|
||||
}
|
||||
|
||||
|
||||
void SGCTWindowWrapper::setEyeSeparationDistance(float distance) {
|
||||
sgct::Engine::instance()->setEyeSeparation(distance);
|
||||
}
|
||||
|
||||
glm::ivec4 SGCTWindowWrapper::viewportPixelCoordinates() const {
|
||||
int x1, xSize, y1, ySize;
|
||||
sgct::Engine::instance()->getCurrentWindowPtr()->getCurrentViewportPixelCoords(x1,
|
||||
|
||||
Reference in New Issue
Block a user