I'm new to vector math, I've mostly done plane / line intersections.
I'm currently trying to do a very simple stereo vision, and the idea is to use a pyramid (representing a feature being projected from a camera), and store it in an octal space tree (in this case represented by points).
So I'm trying to figure out how you could tell if a point is inside of a pyramid.
I thought of simply having 4 or 5 planes representing the pyramid, and then checking on which side the point is by getting it's signed distance.
But is there a better way?