Browse Source

Merge pull request #355 from vankessel/patch-1

Fixed typo "dot" to "cross"
Rémi Verschelde 8 years ago
parent
commit
c01652105a
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                                 |
 | 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                    |
 | vec\_type *normalize* ( vec\_type )                                   | Normalize to unit length                    |
 +-----------------------------------------------------------------------+---------------------------------------------+
 +-----------------------------------------------------------------------+---------------------------------------------+