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

LibGL: Implement glNormal3f and glNormal3fv

This commit is contained in:
Jelle Raaijmakers 2021-12-01 15:33:23 +01:00 committed by Andreas Kling
parent ea6bcda79c
commit 78d0674228
6 changed files with 27 additions and 1 deletions

View file

@ -8,6 +8,7 @@
#include "GL/gl.h"
#include <LibGfx/Vector2.h>
#include <LibGfx/Vector3.h>
#include <LibGfx/Vector4.h>
namespace GL {
@ -20,6 +21,7 @@ struct GLVertex {
FloatVector4 position;
FloatVector4 color;
FloatVector2 tex_coord;
FloatVector3 normal;
};
struct GLTriangle {