Move RenderText to J2D::DrawString2D

This commit is contained in:
2024-02-20 17:20:54 -05:00
parent 6107e9a762
commit 5d906d6f99
3 changed files with 94 additions and 72 deletions

View File

@@ -100,7 +100,7 @@ public:
JGL::J3D::DrawString3D(JGL::Colors::White, "JGL Sample Text", {1, -120, 0.5f}, 2.f);
JGL::RenderText("William J. Tomasine II ", 0.f, -120.f, 1.f);
JGL::J2D::DrawString2D(JGL::Colors::Green, "William J. Tomasine II ", 0.f, -120.f, 1.f);
JGL::J2D::DrawLine2D(JGL::Colors::Greens::DarkGreen, {10, 10}, {200, 300});
JGL::J3D::DrawLine3D(JGL::Colors::Red, {0,0,0}, {1,0,0});