Freelancer

02-10-2004, 06:07 AM

Hi everyone!

One problem I've got. I know how to make an indexed array for of triangles a quad, which "lies" horizontally.

But - I failed to construct a quad like:

Quad(VECTOR3D normal, float intercept)

i.e. I want to make an array of triangles, where each of them has the normal of "normal", and the whole quad stands "intercept" units from the origin.

Any ideas?

Thanks in advance,

Freelancer.

One problem I've got. I know how to make an indexed array for of triangles a quad, which "lies" horizontally.

But - I failed to construct a quad like:

Quad(VECTOR3D normal, float intercept)

i.e. I want to make an array of triangles, where each of them has the normal of "normal", and the whole quad stands "intercept" units from the origin.

Any ideas?

Thanks in advance,

Freelancer.