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:
parent
ea6bcda79c
commit
78d0674228
6 changed files with 27 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue