14#ifndef PHYSXHEIGHTFIELDDESC_H
15#define PHYSXHEIGHTFIELDDESC_H
33 INLINE
void set_to_default();
34 INLINE
bool is_valid()
const;
36 INLINE
void set_size(
unsigned int num_rows,
unsigned int num_columns);
38 void set_image(
const PNMImage &image,
unsigned short materialIndex=0);
39 void set_thickness(
float thickness);
40 void set_convex_edge_threshold(
float threshold);
42 void set_height(
unsigned int row,
unsigned int column,
short height);
43 void set_tess_flag(
unsigned int row,
unsigned int column,
unsigned short value);
44 void set_material_index(
unsigned int row,
unsigned int column,
45 unsigned short materialIndex0,
unsigned short materialIndex1);
48 NxHeightFieldDesc _desc;
53 INLINE
void unset_size();
The name of this class derives from the fact that we originally implemented it as a layer on top of t...
Descriptor class for height fields.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.