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
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user