1 2 3 4 5 6 7 8 9 10 | inline bool32
IsInRectangle(rectangle3 Rectangle, v3 Test)
{
bool32 Result = ((Test.X >= Rectangle.Min.X) &&
(Test.Y >= Rectangle.Min.Y) &&
(Test.X < Rectangle.Max.X) &&
(Test.Y < Rectangle.Max.Y));
return(Result);
}
|