Porting Ray class from Three.JS
Merge branch 'master' of https://github.com/luboslenco/fox