favreau / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

btHeightfieldTerrainShape data pointers are not const #569

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The btHeightfieldTerrainShape class uses non-const pointers to refer to its 
height data despite never modifying it.

This patch makes the relevant members and constructor and method parameters 
into const pointers.

The patch is made against trunk current.

Original issue reported on code.google.com by camilla.berglund on 16 Nov 2011 at 5:26

Attachments:

GoogleCodeExporter commented 9 years ago
I finally applied the patch to trunk,
http://code.google.com/p/bullet/source/detail?r=2503

Thanks for the contribution!
Erwin

Original comment by erwin.coumans on 29 Feb 2012 at 5:05