uhhhhhhhhhh yeeeeeeea
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m28s
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m28s
This commit is contained in:
9
main.cpp
9
main.cpp
@@ -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);
|
||||
|
Reference in New Issue
Block a user