Jason McKesson avatar Jason McKesson committed 49df054

copyediting.

Comments (0)

Files changed (2)

Documents/Basics/Tutorial 01.xml

             OpenGL to assume that the string is null-terminated. In general, unless you need to use
             the null character in a string, there is no need to use the last parameter.</para>
         <para>Once the strings are in the object, they are compiled with
-                <function>glCompileShader</function>, which simply takes the shader object to
-            compile.</para>
+                <function>glCompileShader</function>, which does exactly what it says.</para>
         <para>After compiling, we need to see if the compilation was successful. We do this by
             calling <function>glGetShaderiv</function> to retrieve the
                 <literal>GL_COMPILE_STATUS</literal>. If this is <literal>GL_FALSE</literal>, then
             the shader failed to compile; otherwise compiling was successful.</para>
         <para>If compilation fails, we do some error reporting. It prints a message to stderr that
             explains what failed to compile. It also prints an info log from OpenGL that describes
-            the error; this of this log as the compiler output from a regular C compilation.</para>
+            the error; think of this log as the compiler output from a regular C compilation.</para>
         <para>After creating both shader objects, we then pass them on to the
                 <function>CreateProgram</function> function:</para>
         <example>

Documents/preface.xml

             lessons that this book teaches. If you already know graphics and are in need of a book
             that teaches modern OpenGL programming, this is not it. It may be useful to you in that
             capacity, but that is not this book's main thrust.</para>
-        <para>This book is intended to teach you how to be a graphics programmer. It is not aimed any
+        <para>This book is intended to teach you how to be a graphics programmer. It is not aimed at
             any particular graphics field; it is designed to cover most of the basics of 3D
             rendering. So if you want to be a game developer, a CAD program designer, do some
             computer visualization, or any number of things, this book can still be an asset for
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.