Demo to scala, Ray-Triangle intersection