summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSoftGPU/Triangle.h
blob: ff005b35f116a924777f47d5c7eb80963fa44c61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2021, Jesse Buhagiar <jooster669@gmail.com>
 * Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
 * Copyright (c) 2022, Jelle Raaijmakers <jelle@gmta.nl>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibGPU/Vertex.h>
#include <LibGfx/Vector2.h>

namespace SoftGPU {

struct Triangle {
    GPU::Vertex vertices[3];
};

}