johnblackwood1
Member
I really have never made ANYTHING 3d with c++ or opengl or sdl and all that
i dont know how im gonna make the engine draw everything frame by frame and its kinda making me go coo coo.
Here is my current code.
i dont know how im gonna make the engine draw everything frame by frame and its kinda making me go coo coo.
Here is my current code.
C++:
#include <glad/glad.h>
#include <SDL2/SDL2.h>
#include <SDL2/SDL_opengl.h>
#include <iostream>
#include <string>
#include <vector>
#include <SDL2/SDL_mixer>
bool run = true;
SDL_Event event;
while (run) {
// this is where i put all the raytracing & stuff but idk how so i deleted it.
}

