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

#pragma once

#include <LibGfx/Vector3.h>
#include <LibGfx/Vector4.h>

namespace SoftGPU {

struct Vertex {
    FloatVector4 position;
    FloatVector4 color;
    FloatVector4 tex_coord;
    FloatVector3 normal;
};

}