Commits

Jason McKesson committed ad272cd

Clarification.

Comments (0)

Files changed (1)

Documents/Positioning/Tutorial 04.xml

 }]]></programlisting>
             </example>
             <para>We have a few new uniforms, but the code itself is only modestly complex.</para>
-            <para>The first statement simply applies the offset to get the camera space positions of
-                the vertices. This is here just to make it easier to position our object in camera
-                space.</para>
+            <para>The first statement simply applies an offset, just like the vertex shaders we have
+                seen before. It positions the object in camera space, so that it is offset from the
+                center of the view. This is here to make it easier to position the object for
+                projection.</para>
             <para>The next statement performs a scalar multiply of the camera-space X and Y
                 positions, storing them in a temporary 4-dimensional vector. From there, we compute
                 the clip Z position based on the formula discussed earlier.</para>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.