for the ray-tri hit testing code

I 'm trying to put the ray-tri hit testing code into KSC code. Currently
the related core function can be compiled.