Hey Guys,
I've created an openGL square like so..
final float array1[] = new float[] {
//Front face
lx, ly, hz,
lx, hy, hz,
hx, ly, hz,
hx, hy, hz
};
I've also got a Ray. I'd now like to put bounding boxes around every square I draw so that I can check if they intersect. How would I go about doing this?
Thanks.