//Objects:

obj
objMesh
;

Ray
ray
;


//Loading a Mesh:

char
fileName
[] =
"Meshfile.obj"
;

objMesh.
load
(
fileName
);


objMesh.origin =
vector3
(5.0, 0.1, 0.3;)

objMesh.origin =
vector3
(-1.0, 0.0, 0.0);
//direction: downwards

ray.
intersectMesh
(
&objMesh
);

//Numbers of hits in iResults (ray.iResults)

//Coordinate of hits in Results[] from nearest to farest (ray.Results)