From cfd7266c21a43cbd37fa712725cea85cdd1f7aab Mon Sep 17 00:00:00 2001 From: Omni Date: Fri, 16 Aug 2024 22:44:45 +1000 Subject: cyl mesh and poor mans translation gizmo --- src/render/immdraw.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/render/immdraw.h') diff --git a/src/render/immdraw.h b/src/render/immdraw.h index cf0bed5..2911350 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 cylinder; Mesh cone; Mesh bbox; GPU_Pipeline* colour_pipeline; /** @brief Pipeline for drawing geometry that has vertex colours */ @@ -31,6 +32,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_Cylinder(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); -- cgit v1.2.3-70-g09d2