diff options
Diffstat (limited to '2d')
-rw-r--r-- | 2d/_collisions/pill_line.html | 2 | ||||
-rw-r--r-- | 2d/_collisions/pill_pill.html | 2 | ||||
-rw-r--r-- | 2d/_collisions/polygon_polygon.html | 2 | ||||
-rw-r--r-- | 2d/_collisions/rectangle_line.html | 2 | ||||
-rw-r--r-- | 2d/_collisions/rectangle_rectangle.html | 2 | ||||
-rw-r--r-- | 2d/rigidbody/rigidbody_1.html | 14 | ||||
-rw-r--r-- | 2d/rigidbody/rigidbody_1.html.content | 12 |
7 files changed, 30 insertions, 6 deletions
diff --git a/2d/_collisions/pill_line.html b/2d/_collisions/pill_line.html index 63ae8ba..b28677d 100644 --- a/2d/_collisions/pill_line.html +++ b/2d/_collisions/pill_line.html @@ -8,7 +8,7 @@ </head> <body> <header> - <h1>Physics for Games</h1> + <h1><a title="physicsforgames.com" href="/">Physics for Games</a></h1> </header> <main> <nav> diff --git a/2d/_collisions/pill_pill.html b/2d/_collisions/pill_pill.html index 3394544..6dcf7d8 100644 --- a/2d/_collisions/pill_pill.html +++ b/2d/_collisions/pill_pill.html @@ -8,7 +8,7 @@ </head> <body> <header> - <h1>Physics for Games</h1> + <h1><a title="physicsforgames.com" href="/">Physics for Games</a></h1> </header> <main> <nav> diff --git a/2d/_collisions/polygon_polygon.html b/2d/_collisions/polygon_polygon.html index 574b0bd..90d8a09 100644 --- a/2d/_collisions/polygon_polygon.html +++ b/2d/_collisions/polygon_polygon.html @@ -8,7 +8,7 @@ </head> <body> <header> - <h1>Physics for Games</h1> + <h1><a title="physicsforgames.com" href="/">Physics for Games</a></h1> </header> <main> <nav> diff --git a/2d/_collisions/rectangle_line.html b/2d/_collisions/rectangle_line.html index 79facaf..8472763 100644 --- a/2d/_collisions/rectangle_line.html +++ b/2d/_collisions/rectangle_line.html @@ -8,7 +8,7 @@ </head> <body> <header> - <h1>Physics for Games</h1> + <h1><a title="physicsforgames.com" href="/">Physics for Games</a></h1> </header> <main> <nav> diff --git a/2d/_collisions/rectangle_rectangle.html b/2d/_collisions/rectangle_rectangle.html index a9fc0dd..63217d1 100644 --- a/2d/_collisions/rectangle_rectangle.html +++ b/2d/_collisions/rectangle_rectangle.html @@ -8,7 +8,7 @@ </head> <body> <header> - <h1>Physics for Games</h1> + <h1><a title="physicsforgames.com" href="/">Physics for Games</a></h1> </header> <main> <nav> diff --git a/2d/rigidbody/rigidbody_1.html b/2d/rigidbody/rigidbody_1.html index 9bc7b45..8fdcd07 100644 --- a/2d/rigidbody/rigidbody_1.html +++ b/2d/rigidbody/rigidbody_1.html @@ -8,7 +8,7 @@ </head> <body> <header> - <h1>Physics for Games</h1> + <h1><a title="physicsforgames.com" href="/">Physics for Games</a></h1> </header> <main> <nav> @@ -80,6 +80,17 @@ <h2> Live Example </h2> + <div> + <div class="vector_group"> + <label>Force (N)</label> + + <input id="force_x" type="number" placeholder="X (Default = 10 N)" step="any"/> + <input id="force_y" type="number" placeholder="Y (Default = 20 N)" step="any"/> + </div> + + <button id="apply_force">Apply Force</button> + + </div> <div class="opengl_canvas_container"> <canvas id="gl_canvas" width="640" height="480"></canvas> <button id="gl_canvas_play" class="play_button"> @@ -89,6 +100,7 @@ Stop </button> </div> + <footer id="references"> <h2>References</h2> <ul> diff --git a/2d/rigidbody/rigidbody_1.html.content b/2d/rigidbody/rigidbody_1.html.content index e806ffc..c316188 100644 --- a/2d/rigidbody/rigidbody_1.html.content +++ b/2d/rigidbody/rigidbody_1.html.content @@ -31,6 +31,17 @@ <h2> Live Example </h2> + <div> + <div class="vector_group"> + <label>Force (N)</label> + + <input id="force_x" type="number" placeholder="X (Default = 10 N)" step="any"/> + <input id="force_y" type="number" placeholder="Y (Default = 20 N)" step="any"/> + </div> + + <button id="apply_force">Apply Force</button> + + </div> <div class="opengl_canvas_container"> <canvas id="gl_canvas" width="640" height="480"></canvas> <button id="gl_canvas_play" class="play_button"> @@ -40,6 +51,7 @@ Stop </button> </div> + <footer id="references"> <h2>References</h2> <ul> |