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

3DFileViewer: Move Demos/GLTeapot to Applications/3DFileViewer

Also changes the category to `Graphics`
This commit is contained in:
Erik Biederstadt 2021-05-19 11:57:59 -06:00 committed by Linus Groh
parent 132ecfc47b
commit 585e7890cd
15 changed files with 18 additions and 18 deletions

View file

@ -0,0 +1,24 @@
/*
* Copyright (c) 2021, Jesse Buhagiar <jooster669@gmail.com>
* Copyright (c) 2021, Mathieu Gaillard <gaillard.mathieu.39@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGL/GL/gl.h>
// Point in 3D space
struct Vertex {
GLfloat x;
GLfloat y;
GLfloat z;
};
// A triangle defines a single "face" of a mesh
struct Triangle {
GLuint a;
GLuint b;
GLuint c;
};