mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
parent
1d2407f667
commit
70ac82d5da
@ -44,7 +44,7 @@ BulletHeightfieldShape(const PNMImage &image, PN_stdfloat max_height, BulletUpAx
|
|||||||
|
|
||||||
_shape = new btHeightfieldTerrainShape(_num_rows,
|
_shape = new btHeightfieldTerrainShape(_num_rows,
|
||||||
_num_cols,
|
_num_cols,
|
||||||
_data,
|
(const void *)_data,
|
||||||
max_height,
|
max_height,
|
||||||
up,
|
up,
|
||||||
true, false);
|
true, false);
|
||||||
@ -102,7 +102,7 @@ BulletHeightfieldShape(Texture *tex, PN_stdfloat max_height, BulletUpAxis up) :
|
|||||||
|
|
||||||
_shape = new btHeightfieldTerrainShape(_num_rows,
|
_shape = new btHeightfieldTerrainShape(_num_rows,
|
||||||
_num_cols,
|
_num_cols,
|
||||||
_data,
|
(const void *)_data,
|
||||||
max_height,
|
max_height,
|
||||||
up,
|
up,
|
||||||
true, false);
|
true, false);
|
||||||
@ -127,7 +127,7 @@ BulletHeightfieldShape(const BulletHeightfieldShape ©) {
|
|||||||
|
|
||||||
_shape = new btHeightfieldTerrainShape(_num_rows,
|
_shape = new btHeightfieldTerrainShape(_num_rows,
|
||||||
_num_cols,
|
_num_cols,
|
||||||
_data,
|
(const void *)_data,
|
||||||
_max_height,
|
_max_height,
|
||||||
_up,
|
_up,
|
||||||
true, false);
|
true, false);
|
||||||
@ -208,7 +208,7 @@ fillin(DatagramIterator &scan, BamReader *manager) {
|
|||||||
|
|
||||||
_shape = new btHeightfieldTerrainShape(_num_rows,
|
_shape = new btHeightfieldTerrainShape(_num_rows,
|
||||||
_num_cols,
|
_num_cols,
|
||||||
_data,
|
(const void *)_data,
|
||||||
_max_height,
|
_max_height,
|
||||||
_up,
|
_up,
|
||||||
true, false);
|
true, false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user