diff --git a/samples/gltf_viewer.cpp b/samples/gltf_viewer.cpp index 498c4e495e..d8ca070626 100644 --- a/samples/gltf_viewer.cpp +++ b/samples/gltf_viewer.cpp @@ -312,8 +312,7 @@ static void createGroundPlane(Engine* engine, Scene* scene, App& app) { Entity groundPlane = em.create(); RenderableManager::Builder(1) .boundingBox({ - { -planeExtent.x, 0, -planeExtent.z }, - { planeExtent.x, 1e-4f, planeExtent.z } + {}, { planeExtent.x, 1e-4f, planeExtent.z } }) .material(0, shadowMaterial->getDefaultInstance()) .geometry(0, RenderableManager::PrimitiveType::TRIANGLES,