Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MeshInspector/MeshLib
/ makeUnitCube
Function
makeUnitCube
source/MRTest/MRMeshMeshDistanceLimitTests.cpp:45–48 ·
view source on GitHub ↗
Centered unit cube spanning [-0.5, 0.5]^3.
Source
from the content-addressed store, hash-verified
43
44
// Centered unit cube spanning [-0.5, 0.5]^3.
45
Mesh makeUnitCube()
46
{
47
return makeCube( Vector3f::diagonal( 1.0f ), Vector3f::diagonal( -0.5f ) );
48
}
49
50
} // namespace
51
Callers
1
TEST
Function · 0.85
Calls
2
makeCube
Function · 0.85
diagonal
Function · 0.85
Tested by
no test coverage detected