From 458827efc2fdcc9bdc959e4f2a9b44f56572d6de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 23 Apr 2019 13:56:23 +0200 Subject: Revert "Implemented terrain raycast acceleration" --- modules/bullet/shape_bullet.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'modules/bullet/shape_bullet.cpp') diff --git a/modules/bullet/shape_bullet.cpp b/modules/bullet/shape_bullet.cpp index f15bcec914..b590d63167 100644 --- a/modules/bullet/shape_bullet.cpp +++ b/modules/bullet/shape_bullet.cpp @@ -148,13 +148,7 @@ btHeightfieldTerrainShape *ShapeBullet::create_shape_height_field(PoolVectorbuildAccelerator(16); - - return heightfield; + return bulletnew(btHeightfieldTerrainShape(p_width, p_depth, heightsPtr, ignoredHeightScale, p_min_height, p_max_height, YAxis, PHY_FLOAT, flipQuadEdges)); } btRayShape *ShapeBullet::create_shape_ray(real_t p_length, bool p_slips_on_slope) { -- cgit v1.2.3