BulletHeightfieldShape
-
class BulletHeightfieldShape
Bases:
BulletShapeInheritance diagram
-
explicit BulletHeightfieldShape(PNMImage const &image, PN_stdfloat max_height, BulletUpAxis up = ::Z_up)
-
BulletHeightfieldShape(BulletHeightfieldShape const ©)
Only used by make_from_bam
Stores the image’s brightness values in a vector Bullet can use, while rotating it 90 degrees to the right.
Alternative constructor intended for use with
ShaderTerrainMesh. This will do bilinear sampling at the corners of all texels. Also works with textures that are non-power-of-two and/or rectangular.
-
static TypeHandle get_class_type(void)
-
void set_use_diamond_subdivision(bool flag = true)
-
explicit BulletHeightfieldShape(PNMImage const &image, PN_stdfloat max_height, BulletUpAxis up = ::Z_up)
