]> granicus.if.org Git - postgis/commitdiff
Wrong code-comment regarding front/back of BOX3D
authorDarafei Praliaskouski <me@komzpa.net>
Thu, 10 May 2018 08:07:13 +0000 (08:07 +0000)
committerDarafei Praliaskouski <me@komzpa.net>
Thu, 10 May 2018 08:07:13 +0000 (08:07 +0000)
Patch by Matthias Bay

Closes #4084
Closes https://github.com/postgis/postgis/pull/241

git-svn-id: http://svn.osgeo.org/postgis/trunk@16570 b70326c6-7e19-0410-871a-916f4a2858ee

NEWS
postgis/lwgeom_box3d.c

diff --git a/NEWS b/NEWS
index a715c228cbd8c132a86a9077f437fbc3bd4a1c7e..970b9a7ece75113ad5501099b722dfd14f2de259 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -69,6 +69,7 @@ PostGIS 2.5.0
   - #4080, Add external raster band index to ST_BandMetaData
   - Add Raster Tips section to Documentation for information about
     Raster behavior (e.g. Out-DB performance, maximum open files)
+  - #4084: Fixed wrong code-comment regarding front/back of BOX3D (Matthias Bay)
 
 PostGIS 2.4.0
 2017/09/30
index c3891265a2ca3c88cd3402d774f4d5764d36caf5..748c6f5b0c0f872f238f3923d7e072e5167db76c 100644 (file)
@@ -333,10 +333,10 @@ Datum BOX3D_to_LWGEOM(PG_FUNCTION_ARGS)
                /* add right polygon */
                geoms[3] = lwpoly_as_lwgeom(lwpoly_construct_rectangle(LW_TRUE, LW_FALSE,
                                        &points[3], &points[2], &points[6], &points[7]));
-               /* add back polygon */
+               /* add front polygon */
                geoms[4] = lwpoly_as_lwgeom(lwpoly_construct_rectangle(LW_TRUE, LW_FALSE,
                                        &points[0], &points[3], &points[7], &points[4]));
-               /* add front polygon */
+               /* add back polygon */
                geoms[5] = lwpoly_as_lwgeom(lwpoly_construct_rectangle(LW_TRUE, LW_FALSE,
                                        &points[1], &points[5], &points[6], &points[2]));