summaryrefslogtreecommitdiff
path: root/src/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer')
-rw-r--r--src/renderer/builtin_materials.h5
-rw-r--r--src/renderer/immediate.c10
2 files changed, 4 insertions, 11 deletions
diff --git a/src/renderer/builtin_materials.h b/src/renderer/builtin_materials.h
index 1a04f32..f0e7d2f 100644
--- a/src/renderer/builtin_materials.h
+++ b/src/renderer/builtin_materials.h
@@ -11,10 +11,7 @@
#pragma once
#include <assert.h>
-#include "colours.h"
#include "defines.h"
-#include "maths.h"
-#include "ral.h"
#include "ral_types.h"
// Currently supported materials
@@ -154,4 +151,4 @@ static shader_data_layout pbr_textured_shader_layout(void* data) {
return (shader_data_layout){ .name = "pbr_params", .bindings = { b1, b2, b3, b4, b5, b6 }, .bindings_count = 6
};
-} \ No newline at end of file
+}
diff --git a/src/renderer/immediate.c b/src/renderer/immediate.c
index b3431fa..63a62b8 100644
--- a/src/renderer/immediate.c
+++ b/src/renderer/immediate.c
@@ -12,7 +12,7 @@ typedef struct immdraw_system {
mesh cube;
mesh sphere;
// command lists
-
+
} immdraw_system;
bool immdraw_system_init(immdraw_system* state) {
@@ -28,13 +28,9 @@ bool immdraw_system_init(immdraw_system* state) {
return true;
}
-void immdraw_plane(vec3 pos, quat rotation, f32 u_scale, f32 v_scale, vec4 colour) {
-
-}
+void immdraw_plane(vec3 pos, quat rotation, f32 u_scale, f32 v_scale, vec4 colour) {}
-void immdraw_system_render(immdraw_system* state) {
-
-}
+void immdraw_system_render(immdraw_system* state) {}
// void imm_draw_sphere(vec3 pos, f32 radius, vec4 colour) {
// // Create the vertices