| 133 | } |
| 134 | |
| 135 | bool BoundingBoxIsInside( const Vector3& min, const Vector3& max, const Vector3& pos ) |
| 136 | { |
| 137 | if( ( min.x > pos.x ) || ( max.x < pos.x ) ) |
| 138 | { |
| 139 | return false; |
| 140 | } |
| 141 | if( ( min.y > pos.y ) || ( max.y < pos.y ) ) |
| 142 | { |
| 143 | return false; |
| 144 | } |
| 145 | if( ( min.z > pos.z ) || ( max.z < pos.z ) ) |
| 146 | { |
| 147 | return false; |
| 148 | } |
| 149 | return true; |
| 150 | } |
| 151 | |
| 152 | bool BoundingBoxIsInside( const Vector3& min, const Vector3& max, const Vector3& pos, float epsilon ) |
| 153 | { |
no outgoing calls
no test coverage detected