issue #2771: implements rayCast and rectQuery
issue #2771: add ray cast test
issue #2771: fix some compile error in android and win32
issue #2771: fix some compile error in win32
issue #2771: add resource
Merge pull request #3996 from boyu0/iss2771_physical

issue #2771: physical