Commit 883f113c authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] - this fixes the geometry utils test

parent 2c0d552c
......@@ -49,10 +49,10 @@ public:
points[2] = WPosition( 1.0, 1.0, 0.0 );
points[3] = WPosition( 2.0, 1.0, 0.0 );
WTriangleMesh mesh = wge::triangulate( points );
WTriangleMesh::SPtr mesh = wge::triangulate( points );
// test number of generated triangles
TS_ASSERT_EQUALS( mesh.triangleSize(), 2 );
TS_ASSERT_EQUALS( mesh->triangleSize(), 2 );
// TODO(wiebel): add more of previous tests here
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment