Hi raft,
You are absolutely right. I've changed the way the area is calculated, and now use a vector cross product, i.e
area = | a x b | / 2
which gives consistent results despite orientation of the cube.
Thanks for your help raft, and sorry for troubling the forum about what is my mistake.
You are absolutely right. I've changed the way the area is calculated, and now use a vector cross product, i.e
area = | a x b | / 2
which gives consistent results despite orientation of the cube.
Thanks for your help raft, and sorry for troubling the forum about what is my mistake.