Un-commenting Line 166 stops all rendering, also, it appears circles are gone?
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
2024-10-22 13:26:04 -04:00
parent aa4a29961c
commit e4a4f01b28
3 changed files with 87 additions and 7 deletions

View File

@@ -319,15 +319,46 @@ namespace JGL {
/// @param A
/// @param B
/// @param thickness
void DrawLine(const Color4& color, const Vector3& A, const Vector3& B, float thickness = 1);
void FillSphere(const Color3& color, const Sphere& sphere);
void WireframeSphere(const Color3& color, const Sphere& sphere, float thickness = 1);
void DrawLine(const Color4& color, const Vector3& A, const Vector3& B, float thickness = 1.f);
void WireframeSphere(const Color4& color, const Vector3& position, float radius, float thickness = 1.f);
void WireframeSphere(const Color4& color, const Sphere& sphere, float thickness = 1.f);
void WireframeIcosphere(const Color4& color, const Vector3& position, float radius, float thickness = 1.f);
void WireframeIcosphere(const Color4& color, const Sphere& sphere, float thickness = 1.f);
void WireframeCubesphere(const Color4& color, const Vector3& position, float radius, float thickness = 1.f);
void WireframeCubesphere(const Color4& color, const Sphere& sphere, float thickness = 1.f);
void FillSphere(const Color4& color, const Vector3& position, float radius);
void FillSphere(const Color4& color, const Sphere& sphere);
void FillIcosphere(const Color4& color, const Vector3& position, float radius);
void FillIcosphere(const Color4& color, const Sphere& sphere);
void FillCubesphere(const Color4& color, const Vector3& position, float radius);
void FillCubesphere(const Color4& color, const Sphere& sphere);
void WireframeAABB(const Color4& color, const AABB& aabb);
void WireframeAABB(const Color4& color, const Vector3& pos, const Vector3& radii, float thickness = 1.f);
void FillAABB(const Color4& color, const AABB& aabb);
void FillAABB(const Color4& color, const Vector3& pos, const Vector3& radii);
void WireframeCylinder();
void FillCylinder();
void WireframePrism();
void FillPrism();
void WireframePipe();
void FillPipe();
void WireframeCone();
void FillCone();
void WireframeTorus();
void FillTorus();
void FillOBB(const Color3& color, const OBB& obb);
void WireframeOBB(const Color3& color, const OBB& obb, float thickness = 1);
void WireframeOBB(const Color3& color, const OBB& obb, float thickness = 1.f);
void FillCapsule(const Color3& color, const Capsule& capsule);
void WireframeCapsule(const Color3& color, const Capsule& cap, float thickness = 1);
void WireframeCapsule(const Color3& color, const Capsule& cap, float thickness = 1.f);
void FillTriangleMesh(const Color3& color, const TriangleMesh& mesh);
void WireframeTriangleMesh(const Color3& color, const TriangleMesh& mesh, float thickness = 1);
void WireframeTriangleMesh(const Color3& color, const TriangleMesh& mesh, float thickness = 1.f);
/// Draws a string of text in 3D space, with an arbitrary rotation.
/// @param color