diff options
-rw-r--r-- | src/llr/light_impl.h | 4 | ||||
-rw-r--r-- | src/llr/material_impl.h | 2 | ||||
-rw-r--r-- | src/llr/mesh_impl.h | 5 |
3 files changed, 4 insertions, 7 deletions
diff --git a/src/llr/light_impl.h b/src/llr/light_impl.h index 32203c4..5ec8145 100644 --- a/src/llr/light_impl.h +++ b/src/llr/light_impl.h | |||
@@ -1,8 +1,8 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #include <../../include/gfx/llr/light.h> | 3 | #include <gfx/llr/light.h> |
4 | 4 | ||
5 | #include "../scene/types.h" | 5 | #include "scene/types.h" |
6 | 6 | ||
7 | typedef struct Texture Texture; | 7 | typedef struct Texture Texture; |
8 | 8 | ||
diff --git a/src/llr/material_impl.h b/src/llr/material_impl.h index 138497f..2b7cd89 100644 --- a/src/llr/material_impl.h +++ b/src/llr/material_impl.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #include <../../include/gfx/llr/material.h> | 3 | #include <gfx/llr/material.h> |
4 | 4 | ||
5 | typedef struct ShaderProgram ShaderProgram; | 5 | typedef struct ShaderProgram ShaderProgram; |
6 | 6 | ||
diff --git a/src/llr/mesh_impl.h b/src/llr/mesh_impl.h index 47ff525..96e60df 100644 --- a/src/llr/mesh_impl.h +++ b/src/llr/mesh_impl.h | |||
@@ -1,12 +1,9 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #include <../../include/gfx/llr/mesh.h> | 3 | #include <gfx/llr/mesh.h> |
4 | 4 | ||
5 | typedef struct Mesh { | 5 | typedef struct Mesh { |
6 | const Geometry* geometry; | 6 | const Geometry* geometry; |
7 | const Material* material; | 7 | const Material* material; |
8 | ShaderProgram* shader; | 8 | ShaderProgram* shader; |
9 | } Mesh; | 9 | } Mesh; |
10 | |||
11 | // TODO: a mesh_render() that takes a transform, applies the material and the | ||
12 | // transform, and then renders the geometry. | ||