MCPcopy Create free account
hub / github.com/cinder/Cinder / test

Function test

test/GeomSourceMods/src/GeomSourceModsApp.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void test( const geom::SourceMods &sourceMods )
56{
57 if( sourceMods.getSource() == sourceMods.getSourceStorage().get() )
58 std::cout << "Cloned ";
59
60 TriMesh tm( sourceMods );
61 std::cout << tm.calcBoundingBox().getMax().x - tm.calcBoundingBox().getExtents().x;
62 std::cout << std::endl;
63}
64
65gl::BatchRef visualTest1()
66{

Callers 1

setupMethod · 0.70

Calls 3

getSourceMethod · 0.80
getMethod · 0.45
calcBoundingBoxMethod · 0.45

Tested by

no test coverage detected