Created
May 11, 2011 11:47
-
-
Save foradian/966323 to your computer and use it in GitHub Desktop.
Hack2 Area Finder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int find_area_index(int x_cordinate){ | |
int x_offset = x_cordinate%FREENECT_FRAME_W; return x_offset/(FREENECT_FRAME_W/3); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment