2021-12-16 22:43:39 +01:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2021, Jesse Buhagiar <jooster669@gmail.com>
|
|
|
|
|
* Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
|
2022-04-29 15:11:25 +02:00
|
|
|
* Copyright (c) 2022, Jelle Raaijmakers <jelle@gmta.nl>
|
2021-12-16 22:43:39 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2022-03-27 15:43:51 +02:00
|
|
|
#include <LibGPU/Vertex.h>
|
2022-04-29 15:11:25 +02:00
|
|
|
#include <LibGfx/Vector2.h>
|
2021-12-16 22:43:39 +01:00
|
|
|
|
|
|
|
|
namespace SoftGPU {
|
|
|
|
|
|
|
|
|
|
struct Triangle {
|
2022-03-27 15:43:51 +02:00
|
|
|
GPU::Vertex vertices[3];
|
2021-12-16 22:43:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|