summaryrefslogtreecommitdiff
path: root/main/tests/test_render.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-05-29 12:10:37 +0200
committerGitHub <noreply@github.com>2020-05-29 12:10:37 +0200
commit1620669f4e37c21fa45991a9bc37410014845419 (patch)
treecb9162147bba330ff007c12b349dba070b385a3a /main/tests/test_render.cpp
parent6aa399be59b886e1c8c371f4ceb09f41c86a0584 (diff)
parent69d5de632e04d48a247d50c1dc2c09322129c73a (diff)
Merge pull request #39051 from Xrayez/geometry-split
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
Diffstat (limited to 'main/tests/test_render.cpp')
-rw-r--r--main/tests/test_render.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/tests/test_render.cpp b/main/tests/test_render.cpp
index afc09374b9..d936dd72e7 100644
--- a/main/tests/test_render.cpp
+++ b/main/tests/test_render.cpp
@@ -79,8 +79,8 @@ public:
Vector<Vector3> vts;
/*
- Vector<Plane> sp = Geometry::build_sphere_planes(2,5,5);
- Geometry::MeshData md2 = Geometry::build_convex_mesh(sp);
+ Vector<Plane> sp = Geometry3D::build_sphere_planes(2,5,5);
+ Geometry3D::MeshData md2 = Geometry3D::build_convex_mesh(sp);
vts=md2.vertices;
*/
/*
@@ -118,7 +118,7 @@ public:
vts.push_back(Vector3(-1, 1, -1));
vts.push_back(Vector3(-1, -1, -1));
- Geometry::MeshData md;
+ Geometry3D::MeshData md;
Error err = QuickHull::build(vts, md);
print_line("ERR: " + itos(err));
test_cube = vs->mesh_create();