summaryrefslogtreecommitdiff
path: root/2d/_collisions/polygon_polygon.html.content
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2021-07-06 20:24:05 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2021-07-06 20:24:05 -0400
commita56ccb7392f9f7d0178c17fcef0bf60a1e7de705 (patch)
tree1eccc9ca942e0ad3fe8a53437ff16853637d8b73 /2d/_collisions/polygon_polygon.html.content
parenta5bc39679d7f78c6cc263d64355f93d6b80754da (diff)
(mkosarek) Done enough with SAT collisions for now
Diffstat (limited to '2d/_collisions/polygon_polygon.html.content')
-rw-r--r--2d/_collisions/polygon_polygon.html.content3
1 files changed, 3 insertions, 0 deletions
diff --git a/2d/_collisions/polygon_polygon.html.content b/2d/_collisions/polygon_polygon.html.content
index f2a9253..f2e6bfb 100644
--- a/2d/_collisions/polygon_polygon.html.content
+++ b/2d/_collisions/polygon_polygon.html.content
@@ -186,6 +186,9 @@
<h2 id='live_example'>
Live Example of Intersection Detection
</h2>
+ <p>
+ A live example of Separating Axis Theorem running with full collision detection. Click <button id='reverse_gravity'>this button</button>to reverse gravity on the simualtion.
+ </p>
<div class="opengl_canvas_container">
<canvas id="gl_canvas" width="800" height="600"></canvas>
<button id="gl_canvas_play" class="play_button">