summaryrefslogtreecommitdiff
path: root/docs/shading.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/shading.html')
-rw-r--r--docs/shading.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/shading.html b/docs/shading.html
index 839a61a0361..e36bab49c58 100644
--- a/docs/shading.html
+++ b/docs/shading.html
@@ -162,11 +162,11 @@ These issues will be addressed/resolved in the future.
<li>Use the built-in library functions whenever possible.
For example, instead of writing this:
<pre>
- float x = 1.0 / sqrt(y);
+float x = 1.0 / sqrt(y);
</pre>
Write this:
<pre>
- float x = inversesqrt(y);
+float x = inversesqrt(y);
</pre>
</li>
</ul>