So I’m trying to make my first 3D game in SDL, and for now, I’m working on getting points on the screen, I’ll make the convert3DPointsTo2D actually do the math to do it later. The screen is just a blank white screen and doesn’t draw the points to the screen.
Meaningful Functions: bool render3DPoints(std::vector<int>& points, SDL_Renderer* renderer){ int p - Pastebin.com
Whole Script: #include <iostream>#include <SDL2/SDL.h>#include <vector>#include <sstream - Pastebin.com