summaryrefslogtreecommitdiff
path: root/frontend/2d/_collisions/pill_line.html
blob: 2afa802d286855f23722d5c1f35a1ad1545acf5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <script src="/scripts/jquery-3.5.1.min.js"></script>
        <script src="/index.js"></script>
        <link rel="stylesheet" href="/index.css">
        <link rel="shortcut icon" href="/favicon/favicon.ico" type="image/x-icon">
		<script src="./pill_line/dist/output.js"></script>
        
        <title>Physics for Games</title>
    </head>
    <body>
        <header>
            <h1>Physics for Games</h1>
        </header>
        <main>
            <nav></nav>
            <section>
                <h1>Pill-Line</h1>
                <article>
                    <p>
                        Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                    </p>
                    <div class="opengl_canvas_container">
                        <canvas id="gl_canvas" width="640" height="480"></canvas>
                        <button id="gl_canvas_play" class="play_button">
                            Play
                        </button>
                        <button id="gl_canvas_stop" class="stop_button">
                            Stop
                        </button>
                    </div>
                    <p>
                        References
                        <ul>
                            <li><a href="http://csharphelper.com/blog/2017/08/calculate-where-a-line-segment-and-an-ellipse-intersect-in-c/#intersection_code">Line Segment-Ellipse Intersection</a></li>
                        </ul>
                    </p>
                </article>
            </section>
        </main>
    </body>
</html>