Alright, so before you down vote saying that OpenGL doesn't support rays for rendering, please read:
So I want to detect a quad in opengl 1.1( I don't want to use opengl 3.0). I wanted to detect it using OpenGL, but that doesn't seem possible.
But basically I have one choice, which is kind of "hacky". I create custom matrices and store the transformed vertices somewhere, then do a simple collision test.
What is the common way of doing ray-tracing in legacy OpenGL?