From 9cb4bfacc69b2a95ce8e9250afc33fb04d1ba548 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 10 Aug 2024 14:06:15 +1000 Subject: remove old code --- src/new_render/immdraw.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/new_render/immdraw.h (limited to 'src/new_render/immdraw.h') diff --git a/src/new_render/immdraw.h b/src/new_render/immdraw.h deleted file mode 100644 index 0d58375..0000000 --- a/src/new_render/immdraw.h +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @brief Immediate-mode drawing APIs - */ - -#pragma once -#include "defines.h" -#include "maths_types.h" -#include "ral_impl.h" -#include "render_types.h" - -typedef struct Immdraw_Storage { - Mesh plane; - Mesh cube; - Mesh sphere; - GPU_Pipeline* colour_pipeline; -} Immdraw_Storage; - -// --- Public API - -PUB void Immdraw_Init(Immdraw_Storage* storage); -PUB void Immdraw_Shutdown(Immdraw_Storage* storage); - -// These functions cause a pipeline switch and so aren't optimised for performance -PUB void Immdraw_Plane(Transform tf, Vec4 colour, bool wireframe); -PUB void Immdraw_Cuboid(Transform tf, Vec4 colour, bool wireframe); -PUB void Immdraw_Sphere(Transform tf, f32 size, Vec4 colour, bool wireframe); -PUB void Immdraw_TransformGizmo(Transform tf, f32 size); -- cgit v1.2.3-70-g09d2