summaryrefslogblamecommitdiffstats
path: root/vex/index.html
blob: bb9a205fc5ad303625e8388e68d33addb3948afb (plain) (tree)
































                                                                                                                                                                                     
<!DOCTYPE html>
<html>
<head>
    <title>Vex (Multi-Dimension Vectors)</title>

    <link rel="stylesheet" href="/style.css">
</head>
<body>
    <div class="page-body-border"><div class="page-body">
        <h1 class="page-body-top">Multi-Dimension Vectors</h1>
        <div class="page-body-content">
            <table class="page-body-buttons" style="width: 20%; margin: 0px;">
                <tr><td><div class="link-button-border"><a class="link-button" href="/">Home</a></div></td></tr>
                <tr><td><div class="link-button-border"><a class="link-button" href="https://git.jonsantmyer.com/vex/">Git repository</a></div></td></tr>
                <tr><td><div class="link-button-border"><a class="link-button" href="https://git.jonsantmyer.com/vex/plain/vex.hpp">Download (vex.hpp)</a></div></td></tr>
            </table>
            <h3>Purpose</h3>
            <p>
            vex was designed to be a single header drop in for handling object positions. Therefore, the logic and structures are contained in a single C++ header file.
            </p>
            <h3>Design</h3>
            <p>
            vectors of any dimension can be created by creating a class 'vec_dimd&ltT,D&gt' where T is a floating point or integral type, and D is an unsigned number greater than 1.
            </p><p>
            There are two pre-defined vector types, vec2 and vec3, which can be defined using the same type restrictions stated above.
            </p>
        </div>
        <p class="text-inset">
        LICENSE: MIT (c) 2022 Jon Santmyer (jon@jonsantmyer.com)
        </p>
    </div>
</body>
</html>