From af1350e2e120d29a3f250da4b60238a33488fc06 Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Thu, 24 Mar 2016 18:19:01 +0100 Subject: [PATCH] Fix issue in HeightField in testbed application --- testbed/common/HeightField.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testbed/common/HeightField.cpp b/testbed/common/HeightField.cpp index fc72babf..e8c38b17 100644 --- a/testbed/common/HeightField.cpp +++ b/testbed/common/HeightField.cpp @@ -49,7 +49,7 @@ HeightField::HeightField(const openglframework::Vector3 &position, // Create the collision shape for the rigid body (convex mesh shape) and // do not forget to delete it at the end mHeightFieldShape = new rp3d::HeightFieldShape(NB_POINTS_WIDTH, NB_POINTS_LENGTH, mMinHeight, mMaxHeight, - mHeightData, rp3d::HeightFieldShape::HEIGHT_INT_TYPE); + mHeightData, rp3d::HeightFieldShape::HEIGHT_FLOAT_TYPE); // Initial position and orientation of the rigid body rp3d::Vector3 initPosition(position.x, position.y, position.z);