Template:Glapi viewport equations: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
template for GLAPI.
 
categorization
 
Line 2: Line 2:


<math>y_w = (y_{nd} + 1)\left ( \tfrac{height}{2} \right) + y</math>
<math>y_w = (y_{nd} + 1)\left ( \tfrac{height}{2} \right) + y</math>
<noinclude>[[Category:Template API Helpers]]</noinclude>

Latest revision as of 01:07, 25 July 2013

$ x_{w}=(x_{nd}+1)\left({\tfrac {width}{2}}\right)+x $

$ y_{w}=(y_{nd}+1)\left({\tfrac {height}{2}}\right)+y $