Skip to content

Commit

Permalink
Link in normal example to docs (#1492)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul V Craven <[email protected]>
  • Loading branch information
pvcraven and Paul V Craven authored Feb 1, 2023
1 parent 283a712 commit 102c27f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/example_code/how_to_examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,17 @@ Frame Buffers

:ref:`perspective`

.. _opengl:

OpenGL
^^^^^^

.. figure:: thumbs/normal_mapping.png
:figwidth: 170px
:target: normal_mapping.html

:ref:`normal_mapping`

.. _concept_games:

Concept Games
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions doc/example_code/how_to_examples/normal_mapping.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
:orphan:

.. _normal_mapping:

Normal Mapping
==============

.. image:: normal_mapping.png
:width: 600px
:align: center
:alt: Screen shot of normal mapping

.. literalinclude:: ../../../arcade/examples/gl/normal_mapping_simple.py
:caption: normal_mapping_simple.py
:linenos:

0 comments on commit 102c27f

Please sign in to comment.