From 5c26e4cf4d8095b72ebf35d79e8aa6661b09d323 Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Sun, 11 Feb 2007 07:37:46 +0000 Subject: [PATCH] formatting --- panda/src/ode/odeHeightFieldGeom.h | 64 +++++++++++++++++++++++++++--- 1 file changed, 58 insertions(+), 6 deletions(-) diff --git a/panda/src/ode/odeHeightFieldGeom.h b/panda/src/ode/odeHeightFieldGeom.h index b72f99e171..6061a15b44 100644 --- a/panda/src/ode/odeHeightFieldGeom.h +++ b/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: