My problem revolves around trying to position a camera in 3d space.
The points O and Q exist on a flat plane, the point P exists along a vector M which passes through O. What is the position of P such that Q intersects with any of the four planes of a pyramid shaped frustum with four sides with its peak centred on P and directed at O so that O is contained within the pyramid with $\theta$ denoting the angle between opposing sides of the pyramid, in other words the top corner angle of any side of the pyramid is $\theta$.
