mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
Remove erraneous enabled OpenGL checking code
Remove warnings Reset using the star glare texture as billboard for the Sun
This commit is contained in:
@@ -1034,11 +1034,11 @@ void TouchInteraction::step(double dt) {
|
||||
directionToCenter = normalize(-centerToCam);
|
||||
dvec3 lookUpWhenFacingCenter = globalCamRot *
|
||||
dvec3(_camera->lookUpVectorCameraSpace());
|
||||
dmat4 lookAtMat = lookAt(
|
||||
dmat4 lookAtMatrix = lookAt(
|
||||
dvec3(0, 0, 0),
|
||||
directionToCenter,
|
||||
lookUpWhenFacingCenter);
|
||||
globalCamRot = normalize(quat_cast(inverse(lookAtMat)));
|
||||
globalCamRot = normalize(quat_cast(inverse(lookAtMatrix)));
|
||||
}
|
||||
{ // Zooming
|
||||
centerToBoundingSphere = -directionToCenter * boundingSphere;
|
||||
|
||||
Reference in New Issue
Block a user