1. Jason McKesson
  2. gltut


Trevor Fancher  committed 3dcf68c

Added missing parentheses

  • Participants
  • Parent commits 1756ad0
  • Branches default

Comments (0)

Files changed (1)

File Documents/Basics/Tutorial 02.xml

View file
                 location to send the data to and the last parameter. The last parameter is the byte
                 offset into the buffer of where the data for this attribute starts. This offset, in
                 this case, is 4 (the size of a <type>float</type>) * 4 (the number of
-                    <type>float</type>s in a <type>vec4</type> * 3 (the number of
+                    <type>float</type>s in a <type>vec4</type>) * 3 (the number of
                 <type>vec4</type>'s in the position data).</para>
                 <para>If you're wondering why it is <literal>(void*)48</literal> and not just