Search Results for: Direction finding compasses
which direction is my phone pointing at? does the metaphorical ray of light hit the screen?
first, i'm going to instantiate a plane. i'm going to use the screen width and height as coordinates, so that every point on the screen i'm about to calculate actually contains the pixel coordinates. i'm going to use ( / / ) as the first vector to keep my calculations as simple as possible. the two direction...
https://www.liip.ch/fr/blog/how-to-point-at-a-screen-with-your-phone