aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-07-09 20:00:08 -0700
committer3gg <3gg@shellblade.net>2025-07-09 20:00:08 -0700
commit32b933e154cb1db5149ce2975e976743beed6549 (patch)
tree713b3f92189f59a20d3e073db7c236db9d25fcac /src
parentd792371d975e2a4c61d54506129679737c5fc343 (diff)
Clean up includes and address TODO
Diffstat (limited to 'src')
-rw-r--r--src/llr/light_impl.h4
-rw-r--r--src/llr/material_impl.h2
-rw-r--r--src/llr/mesh_impl.h5
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
7typedef struct Texture Texture; 7typedef 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
5typedef struct ShaderProgram ShaderProgram; 5typedef 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
5typedef struct Mesh { 5typedef 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.