No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi im working with opengl/sdl and im still new to it what im trying to do is to make a 2nd box or sprite that will follow the frist box ive made can anyone help me out here is some of the code i have [CODE]#include "sdl.h" #include "GL_Functions.h" #include … |
|
im just trying to draw a 2D square but its not working and i dont know y? main.cpp [CODE]#include "sdl.h" #include "GL_Functions.h" int SDL_main(int argc, char* argv[]) { //Used in the main loop bool Done = false; //Used to store SDL events SDL_Event event; //Lets open the window and initialise … |
|
ok i have to make a matrix class for a math library and im now Very lost with what im ment to do or how to do it the code i have so far is: [CODE] #include <iostream> #include <math.h> #include "Vector2.h" class Matrix { private: float data[3][3]; public: Matrix() … |