You're having it the wrong way around: your function says it's a triangle when it's not and says it's not a triangle when it is.
Aranarth 126 Posting Whiz in Training
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
mebob 0 Junior Poster in Training
Aranarth 126 Posting Whiz in Training
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
mebob 0 Junior Poster in Training
Aranarth 126 Posting Whiz in Training
mebob 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.