Is there any way to detect collisions in OpenGL
without using any kind of bounding box?
I have created a maze/labyrinth and I want to move the camera/player inside the maze, such that the movement of camera is restricted by the walls of the maze.
Is there any way to detect collisions in OpenGL
without using any kind of bounding box?
I have created a maze/labyrinth and I want to move the camera/player inside the maze, such that the movement of camera is restricted by the walls of the maze.
OpenGL is a graphics API, whose sole purpose is shoving triangles to your screen. It does not do collision detection, at all.
If your maze has orthogonal walls, an axis-aligned bounding box is definitely the easiest collision detection you can code.