Can anyone suggest an equivalent to Jitter3DUtils.intersect_line_quad for use inside jit.gl.lua?

I am currently using vec3.intersect_line_sphere and my hit tests are firing only in the sphere which is no good as i am generating planes and I loose the corners.

I have checked the vecmath functions available and the only one i can see for intersections is vec3.intersect_line_sphere.

Thanks.

Tim

]]>JS. Look in C74/jsextensions/Jitter3DUtils.js.

wes

On Feb 12, 2008 7:44 AM, Timothy Devine

>

> Hi all,

>

> Can anyone suggest an equivalent to Jitter3DUtils.intersect_line_quad for use inside jit.gl.lua?

>

> I am currently using vec3.intersect_line_sphere and my hit tests are firing only in the sphere which is no good as i am generating planes and I loose the corners.

>

> I have checked the vecmath functions available and the only one i can see for intersections is vec3.intersect_line_sphere.

>

> Thanks.

>

> Tim

>