Original Post
At gamastura there's an article about inside convex polygon testing for points. The first example confuses me a bit. Shouldn't the quad be splitted?
If it looks like this, numbers are vertices.
Letters are vectors.
1A2
D\B
4B3
then according to me
first test
create vector and normal for vector 3 to 1
if the point is on top side
do the dotproduct test for B ans A
else
do the dotproduct test for C and D
Shouldn't this give 3 multiplications less?
http://www.gamasutra.com/features/20000210/lander_01.htm
[edited by - __fold on September 2, 2003 5:49:46 AM]