| 3508 | //----------------------------------------------------------------------------- |
| 3509 | |
| 3510 | void ImPlot3DBox::Expand(const ImPlot3DPoint& point) { |
| 3511 | Min.x = ImMin(Min.x, point.x); |
| 3512 | Min.y = ImMin(Min.y, point.y); |
| 3513 | Min.z = ImMin(Min.z, point.z); |
| 3514 | Max.x = ImMax(Max.x, point.x); |
| 3515 | Max.y = ImMax(Max.y, point.y); |
| 3516 | Max.z = ImMax(Max.z, point.z); |
| 3517 | } |
| 3518 | |
| 3519 | bool ImPlot3DBox::Contains(const ImPlot3DPoint& point) const { |
| 3520 | return (point.x >= Min.x && point.x <= Max.x) && (point.y >= Min.y && point.y <= Max.y) && (point.z >= Min.z && point.z <= Max.z); |
nothing calls this directly
no outgoing calls
no test coverage detected