text: #pragma once
  #ifndef _AVL_INRECT_H_
  #define _AVL_INRECT_H_
  
  int
  avl_inrect(const vector2 min;
             const vector2 max;
             const vector2 position)
  {
      return position.x > min.x && position.x < max.x &&
             position.y > min.y && position.y < max.y;
  }
  
  int
  avl_inrect(const float left;
             const float right;
             const float top;
             const float bottom;
             const vector2 position)
  {
      return position.x > left && position.x < right &&
             position.y > bottom && position.y < top;
  }
  
  #endif  // _AVL_INRECT_H_
  