Browse Source

Fixed typo "dot" to "cross"

"dot" was accidentally duplicated across two rows.
(cherry picked from commit 7ca7d4cb25f27ba76da6902d39c28186cdd82315)
Kevin Van Kessel 8 years ago
parent
commit
c000040912
1 changed files with 1 additions and 1 deletions
  1. 1 1
      reference/shading_language.rst

+ 1 - 1
reference/shading_language.rst

@@ -197,7 +197,7 @@ follows:
 +-----------------------------------------------------------------------+---------------------------------------------+
 | float *dot* ( vec\_type, vec\_type )                                  | Dot Product                                 |
 +-----------------------------------------------------------------------+---------------------------------------------+
-| vec3 *dot* ( vec3, vec3 )                                             | Cross Product                               |
+| vec3 *cross* ( vec3, vec3 )                                           | Cross Product                               |
 +-----------------------------------------------------------------------+---------------------------------------------+
 | vec\_type *normalize* ( vec\_type )                                   | Normalize to unit length                    |
 +-----------------------------------------------------------------------+---------------------------------------------+