MCPcopy 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.
45Mesh makeUnitCube()
46{
47 return makeCube( Vector3f::diagonal( 1.0f ), Vector3f::diagonal( -0.5f ) );
48}
49
50} // namespace
51

Callers 1

TESTFunction · 0.85

Calls 2

makeCubeFunction · 0.85
diagonalFunction · 0.85

Tested by

no test coverage detected