Recommended Answers
Jump to PostLets see your main.cpp file and the rest of what you have because I'm pretty sure you are not declaring "beam" correctly.
Jump to PostPretty sure that is the wrong main.cpp you linked.
Jump to PostI see that you put
Beam *pBeam=NULL;
in your main() function. This does not mean that pBeam is now going to be a global variable that everything can use. I made a really crappy 2D batman game in OpenGL and having a clean layout is key and that pretty much …
All 10 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.