aboutsummaryrefslogtreecommitdiff
path: root/x86_64-w64-mingw32/include/SDL2/SDL_test_images.h
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-11-21 21:43:11 +0100
committervimene <vincent.menegaux@gmail.com>2023-11-21 21:43:11 +0100
commit6322e8d7e6e4ddb1c0a0b3a00a1b516d1a84df49 (patch)
tree694ef514292c64527d8b89cd872978d826a8cbf0 /x86_64-w64-mingw32/include/SDL2/SDL_test_images.h
parenta8237fc43ee1d0cd3ca10fe964c0db21313eca35 (diff)
downloadengine-6322e8d7e6e4ddb1c0a0b3a00a1b516d1a84df49.tar.gz
removed all generated files
Diffstat (limited to 'x86_64-w64-mingw32/include/SDL2/SDL_test_images.h')
0 files changed, 0 insertions, 0 deletions
ld } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef TRI_VERTEX_H
#define TRI_VERTEX_H

#include "vertex.h"
#include <vector>

class TriangleVertex3 {
    public:
        Vertex3 vertex1;
        Vertex3 vertex2;
        Vertex3 vertex3;

        TriangleVertex3(Vertex3 vertex1, Vertex3 vertex2, Vertex3 vertex3);
        std::vector<TriangleVertex3> crop_xy_out(float x1, float x2, float y1, float y2) const;
};

class TriangleVertex4 {
    public:
        Vertex4 vertex1;
        Vertex4 vertex2;
        Vertex4 vertex3;

        TriangleVertex4(Vertex4 vertex1, Vertex4 vertex2, Vertex4 vertex3);
        TriangleVertex4(TriangleVertex3 triangle);
        std::vector<TriangleVertex4> crop_z_out(float z1, float z2) const;
        TriangleVertex3 div_by_w() const;
};

#endif // TRI_VERTEX_H