Skip to content
Snippets Groups Projects

Fixed some of the 2d problems, most folds still not working specifically in...

Merged William Fledelius requested to merge feature/3dFolding into main
2 files
+ 128
11
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
1
@@ -3,6 +3,7 @@
#include <iostream>
#include <Utilities.h>
#include <glad/glad.h>
#include <filesystem>
// Constructor
Renderer::Renderer()
@@ -32,7 +33,9 @@ Renderer::~Renderer()
void Renderer::initialize()
{
// Initialize shader
shader = new Shader("shaders/vertex_shader.glsl", "shaders/fragment_shader.glsl");
std::filesystem::path path = std::filesystem::current_path();
std::cout << "Current working directory: " << path << std::endl;
shader = new Shader("opengl/shaders/vertex_shader.glsl", "opengl/shaders/fragment_shader.glsl");
// Generate sphere data
SphereGenerator::generateSphere(sphereVertices, sphereIndices, 0.1f, 36, 18);
Loading