czaloj / bullet

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

Add a copy constructor for btAlignedObjectArray #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Array b;
Array a = b;

fails, because it wrongly shares the memory, instead of duplicating it.

Add a copy constructor to avoid this.

Original issue reported on code.google.com by erwin.coumans on 30 Nov 2008 at 4:26

GoogleCodeExporter commented 9 years ago

Fixed here:
http://code.google.com/p/bullet/source/detail?r=1541

Original comment by erwin.coumans on 30 Nov 2008 at 4:48