summaryrefslogtreecommitdiffstats
path: root/header.FDL
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2014-04-19 16:36:35 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-16 09:53:58 +0200
commitca15825ed4a1d4c8642c2292760726ebdcda863b (patch)
treeca28f9e9d3938386379b3c963d475382fca86166 /header.FDL
parent71fb3633e8d909e9a91e1bee6eaf53c146f25998 (diff)
Add viewport transform to QMatrix4x4
This allows to easily create a matrix that performs the transformation used by OpenGL fixed function to go from normalized device coordinates to window coordinates. This comes in useful if you need to perform the NDC->window coordinate conversion inside a shader. Change-Id: I183b3545bfb3eb1e8b13fc3172911b46926fcbb7 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'header.FDL')
0 files changed, 0 insertions, 0 deletions