ladybird/Userland/Libraries/LibSoftGPU/Triangle.h

21 lines
386 B
C
Raw Normal View History

/*
* 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];
};
}