uhhhhhhhhhh yeeeeeeea
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m28s

This commit is contained in:
2024-07-16 14:19:39 -04:00
parent e261b610c2
commit abd691b648
11 changed files with 251 additions and 99 deletions

View File

@@ -3,6 +3,7 @@
#include <rewindow/types/window.h>
#include <JGL/Colors.h>
#include <J3ML/LinearAlgebra/Vector2.h>
#include <JGL/Font.h>
using J3ML::LinearAlgebra::Vector2;
using namespace JGL;
@@ -57,8 +58,8 @@ struct point {
GLfloat t;
};
int FreeSans;
int Jupiteroid;
JGL::Font FreeSans;
JGL::Font Jupiteroid;
class JGLDemoWindow : public ReWindow::RWindow
{
@@ -70,8 +71,8 @@ public:
gladLoadGL();
JGL::Update(getSize());
FreeSans = JGL::LoadFont("assets/fonts/FreeSans.ttf");
Jupiteroid = JGL::LoadFont("assets/fonts/Jupiteroid.ttf");
FreeSans = JGL::Font("assets/fonts/FreeSans.ttf");
Jupiteroid = JGL::Font("assets/fonts/Jupiteroid.ttf");
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
glMatrixMode(GL_PROJECTION);