Check if a Point is between two Points
问题 I just recognized my math is a bit rusty.. I wanna check if Point C is between Point A and Point B . C can be on the line segment of A and B, or not. There can be three cases and I have to identify all of them: C is between A and B C / \ A---B C is in front of A and B C \ \ A--B C is in the back of A and B C / / A--B The "sketch" in the last two points should be a triangle. I used the dotproduct to check if C is between A and B. if (VectorOf(AB) * VectorOf(BC)) >= 0) To check if C is in the