summaryrefslogtreecommitdiff
path: root/src/render/immdraw.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-16 18:54:44 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-16 18:54:44 +1000
commita4074b0feb6b2194af7c175fe1826c8e550f10aa (patch)
tree91449852c57936780ae316ed7d4e8ff12e4e24a6 /src/render/immdraw.h
parent938e3944fd7d55951e794224e6346488d3c701ea (diff)
cone mesh
Diffstat (limited to 'src/render/immdraw.h')
-rw-r--r--src/render/immdraw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/immdraw.h b/src/render/immdraw.h
index b205129..cf0bed5 100644
--- a/src/render/immdraw.h
+++ b/src/render/immdraw.h
@@ -13,6 +13,7 @@ typedef struct Immdraw_Storage {
Mesh plane;
Mesh cube;
Mesh sphere;
+ Mesh cone;
Mesh bbox;
GPU_Pipeline* colour_pipeline; /** @brief Pipeline for drawing geometry that has vertex colours */
} Immdraw_Storage;
@@ -30,6 +31,7 @@ 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_Cone(Transform tf, Vec4 colour, bool wireframe);
PUB void Immdraw_Sphere(Transform tf, Vec4 colour, bool wireframe);
PUB void Immdraw_Bbox(Transform tf, Vec4 colour, bool wireframe);