What is the best way to keep the camera from moving through objects? I have built a store and have bound the camera inside the walls. I was wondering what is the easiest way to keep the camera from moving thourgh my objects?
I forgot to mention that the store is in 3d.
i believe what you are looking for is bounding boxes.
Look in google.
Also this link might help you.
http://www.ultimategameprogramming.com/Tutorial.php?category=OpenGL&page=6
Remember google is your friend