Josh Wilson пре 19 година
родитељ
комит
5c26e4cf4d
1 измењених фајлова са 58 додато и 6 уклоњено
  1. 58 6
      panda/src/ode/odeHeightFieldGeom.h

+ 58 - 6
panda/src/ode/odeHeightFieldGeom.h

@@ -42,12 +42,64 @@ PUBLISHED:
 
   INLINE dHeightfieldDataID heightfield_data_create();
   INLINE void heightfield_data_destroy(dHeightfieldDataID d);
-  INLINE void heightfield_data_build_callback(dHeightfieldDataID d, void* p_user_data, dHeightfieldGetHeight* p_callback, dReal width, dReal depth, int width_samples, int depth_samples, dReal scale, dReal offset, dReal thickness, int b_wrap);
-  INLINE void heightfield_data_build_byte(dHeightfieldDataID d, const unsigned char* p_height_data, int b_copy_height_data, dReal width, dReal depth, int width_samples, int depth_samples, dReal scale, dReal offset, dReal thickness, int b_wrap);
-  INLINE void heightfield_data_build_short(dHeightfieldDataID d, const short* p_height_data, int b_copy_height_data, dReal width, dReal depth, int width_samples, int depth_samples, dReal scale, dReal offset, dReal thickness, int b_wrap);
-  INLINE void heightfield_data_build_single(dHeightfieldDataID d, const float* p_height_data, int b_copy_height_data, dReal width, dReal depth, int width_samples, int depth_samples, dReal scale, dReal offset, dReal thickness, int b_wrap);
-  INLINE void heightfield_data_build_double(dHeightfieldDataID d, const double* p_height_data, int b_copy_height_data, dReal width, dReal depth, int width_samples, int depth_samples, dReal scale, dReal offset, dReal thickness, int b_wrap);
-  INLINE void heightfield_data_set_bounds(dHeightfieldDataID d, dReal min_height, dReal max_height);
+  INLINE void heightfield_data_build_callback(dHeightfieldDataID d, 
+					      void* p_user_data, 
+					      dHeightfieldGetHeight* p_callback,
+					      dReal width,
+					      dReal depth, 
+					      int width_samples,
+					      int depth_samples,
+					      dReal scale, 
+					      dReal offset,
+					      dReal thickness,
+					      int b_wrap);
+  INLINE void heightfield_data_build_byte(dHeightfieldDataID d, 
+					  const unsigned char* p_height_data,
+					  int b_copy_height_data, 
+					  dReal width, 
+					  dReal depth, 
+					  int width_samples,
+					  int depth_samples,
+					  dReal scale, 
+					  dReal offset,
+					  dReal thickness,
+					  int b_wrap);
+  INLINE void heightfield_data_build_short(dHeightfieldDataID d,
+					   const short* p_height_data,
+					   int b_copy_height_data,
+					   dReal width,
+					   dReal depth,
+					   int width_samples,
+					   int depth_samples, 
+					   dReal scale, 
+					   dReal offset, 
+					   dReal thickness, 
+					   int b_wrap);
+  INLINE void heightfield_data_build_single(dHeightfieldDataID d, 
+					    const float* p_height_data,
+					    int b_copy_height_data, 
+					    dReal width, 
+					    dReal depth, 
+					    int width_samples,
+					    int depth_samples,
+					    dReal scale,
+					    dReal offset, 
+					    dReal thickness, 
+					    int b_wrap);
+  INLINE void heightfield_data_build_double(dHeightfieldDataID d,
+					    const double* p_height_data,
+					    int b_copy_height_data, 
+					    dReal width, 
+					    dReal depth,
+					    int width_samples,
+					    int depth_samples,
+					    dReal scale, 
+					    dReal offset, 
+					    dReal thickness,
+					    int b_wrap);
+  INLINE void heightfield_data_set_bounds(dHeightfieldDataID d,
+					  dReal min_height, 
+					  dReal max_height);
   INLINE void heightfield_set_heightfield_data(dHeightfieldDataID d);
 
 public: