commit 36b64b0d8030fab05ea955a37b23959073a27c7c
parent 2396f7c7ab365b94e4ac3b79234771fd02922eb6
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Sun, 18 Apr 2021 22:00:47 +0200
struct sgs_geometry_<slope|step>
Rename the elevation variable in heights
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/sgs_geometry.h b/src/sgs_geometry.h
@@ -65,17 +65,17 @@ static const struct sgs_geometry_box_args SGS_GEOMETRY_BOX_ARGS_DEFAULT =
* ,',o.| . . . . .
* Z ,',' | | ^
* ^ Y o',' | | |
- * |/ /,' | | elevation[1]
+ * |/ /,' | | heights[1]
* o--> X . . . . o'' | | |
* ^ | ' | | |
- * elevation[0] | o......|.u upper |
+ * heighst[0] | o......|.u upper |
* | |. |/ |
* . . . . l--------o . . . . . .
* lower */
struct sgs_geometry_slope_args {
double lower[2]; /* 2D lower bound in the XY plane */
double upper[2]; /* 2D upper bound in the XY plane */
- double elevation[2]; /* The slope elevations in Z along the X axis */
+ double heights[2]; /* The slope heights in Z along the X axis */
};
#define SGS_GEOMETRY_SLOPE_ARGS_DEFAULT__ {{0,0}, {1,1}, {0.5,1}}
static const struct sgs_geometry_slope_args SGS_GEOMETRY_SLOPE_ARGS_DEFAULT =
@@ -88,17 +88,17 @@ static const struct sgs_geometry_slope_args SGS_GEOMETRY_SLOPE_ARGS_DEFAULT =
* o---o.| . . . . .
* Z | ' | | ^
* ^ Y o--|.o | | |
- * |/ / | | | elevation[1]
+ * |/ / | | | heights[1]
* o--> X . . . . o----o | | |
* ^ | ' ' | | |
- * elevation[0] | o....s.|.u upper |
+ * heights[0] | o....s.|.u upper |
* | |, , |/ |
* . . . . l----s---o . . . . . .
* lower step */
struct sgs_geometry_step_args {
double lower[2]; /* 2D lower bound in the XY plane */
double upper[2]; /* 2D upper bound in the XY plane */
- double elevation[2]; /* The slope elevations in Z along the X axis */
+ double heights[2]; /* The slope heights in Z along the X axis */
double step; /* X coordinate of the step */
};
#define SGS_GEOMETRY_STEP_ARGS_DEFAULT__ {{0,0}, {1,1}, {0.5,1}, 0.5}