angle/samples/torus_lighting
Lubosz Sarnecki da02c6d9a5 samples: Improve TorusLighting samples.
Adjust the code style of the ES1 and ES2 TorusLighting samples to match
the one of TorusBufferStorage.

Use the step function override to calculate rotation and move state
changes that are required only once out of the draw function.

Bug: angleproject:5751
Change-Id: Ie663c7ecfd306504b6f9e9390ec24b251194f970
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3178904
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
2021-09-23 16:52:49 +00:00
..
TorusBufferStorage.cpp samples: Add torus bufferstorage ES3 sample. 2021-09-23 16:44:59 +00:00
TorusLightingES1.cpp samples: Improve TorusLighting samples. 2021-09-23 16:52:49 +00:00
TorusLightingES2.cpp samples: Improve TorusLighting samples. 2021-09-23 16:52:49 +00:00
torus.h samples: Add TorusLighting sample. 2021-05-10 04:10:48 +00:00