MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / applyPadding

Function applyPadding

source/MRViewer/MRRenderLabelObject.cpp:19–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17namespace
18{
19 void applyPadding( MR::Box3f& box, float padding )
20 {
21 box.min.x -= padding;
22 box.min.y -= padding;
23 box.min.z -= padding;
24 box.max.x += padding;
25 box.max.y += padding;
26 box.max.z += padding;
27 }
28}
29
30namespace MR

Callers 2

renderBackground_Method · 0.85
renderLeaderLine_Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected