aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-09-23 03:01:39 +0200
committerSven Gothel <[email protected]>2023-09-23 03:01:39 +0200
commitcbb0035b5c5df6eada04e38a3478091cca0fe9c5 (patch)
treef4fb4f6ce3d9364d3a775b4776ae7409af06dccd /src/graphui/classes/jogamp
parente9e68d786716e743c7c8e93bf3a882cc6ef2f979 (diff)
Bug 1452: GraphUI Scene DefaultPMVMatrixSetup.set(): Fix regression of commit 5d6e8a367c03644740187e500c6de5d3ac039d5e
- pmv.glMatrixMode(GLMatrixFunc.GL_PROJECTION); - pmv.glLoadIdentity(); - pmv.gluPerspective(angle, ratio, zNear, zFar); - pmv.glTranslatef(0f, 0f, scene_dist); + pmv.loadPIdentity(); + pmv.perspectiveP(angle, ratio, zNear, zFar); + pmv.translateMv(0f, 0f, scene_dist); ^^ Was projection matrix. Fixed. Note: resolved via TraceGL and comparing output -> P matrix differed, here translation.
Diffstat (limited to 'src/graphui/classes/jogamp')
0 files changed, 0 insertions, 0 deletions