Detecting Touches in an OpenGL rendered scene
Posted
by Icky
on Stack Overflow
See other posts from Stack Overflow
or by Icky
Published on 2010-04-29T14:09:21Z
Indexed on
2010/04/29
15:17 UTC
Read the original article
Hit count: 362
Hey.
I was wondering whether there is a way to detect a touch in an OpenGL rendered scene. What I have i a set of images which are being rendered in my main view. Now if the user touches one of these images (or objects) I would like to know which one was touched - similar to the
CGRectContainsPoint(frame, [touch locationInView:self.view]
method.
Is there an easy way to find out? If there is none, this would also help.
© Stack Overflow or respective owner