1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:37:45 +00:00

LibGL+LibSoftGPU: Move Vertex and Triangle structs to LibSoftGPU

This commit is contained in:
Stephan Unverwerth 2021-12-16 22:43:39 +01:00 committed by Brian Gianforcaro
parent 73ba208ee7
commit 251f3c007f
9 changed files with 68 additions and 36 deletions

View file

@ -0,0 +1,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;
};
}