File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [ Unreleased]
8
8
9
- ## [ 2.1.5-RC2] - 2020-03-11
9
+ ## [ 2.1.5-RC3] - 2020-03-13
10
+ ### Fixed
11
+ - Fix mesh rasterizer [ #38 ] ( https://github.com/PDAL/java/pull/38 )
10
12
13
+ ## [ 2.1.5-RC2] - 2020-03-11
11
14
### Changed
12
15
- Allocate rasterized buffer on heap [ #37 ] ( https://github.com/PDAL/java/pull/37 )
13
16
@@ -98,7 +101,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
98
101
### Changed
99
102
- Moved from the PDAL repo and established own lifecycle.
100
103
101
- [ Unreleased ] : https://github.com/PDAL/java/compare/2.1.5-RC2...HEAD
104
+ [ Unreleased ] : https://github.com/PDAL/java/compare/2.1.5-RC3...HEAD
105
+ [ 2.1.5-RC3 ] : https://github.com/PDAL/java/compare/2.1.5-RC2...2.1.5-RC3
102
106
[ 2.1.5-RC2 ] : https://github.com/PDAL/java/compare/2.1.5-RC1...2.1.5-RC2
103
107
[ 2.1.5-RC1 ] : https://github.com/PDAL/java/compare/2.1.4...2.1.5-RC1
104
108
[ 2.1.4 ] : https://github.com/PDAL/java/compare/2.1.3...2.1.4
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ resolvers ++= Seq(
21
21
22
22
fork := true
23
23
24
- val pdalVersion = " 2.1.5-RC2 "
24
+ val pdalVersion = " 2.1.5-RC3 "
25
25
26
26
libraryDependencies ++= Seq (
27
27
" io.pdal" %% " pdal" % pdalVersion,
Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ JNIEXPORT jdoubleArray JNICALL Java_io_pdal_PointView_rasterizeTriangularMesh
308
308
double scanrow0 = std::max (std::ceil ((ymin - eymin) / h - 0.5 ), 0.0 );
309
309
double scany = eymin + scanrow0 * h + h / 2.0 ;
310
310
311
- while (scany < eymax && scany < ymax)
311
+ while (scany <= eymax && scany <= ymax)
312
312
{
313
313
// get x at y for edge
314
314
double xmin = -DBL_MAX;
@@ -368,7 +368,7 @@ JNIEXPORT jdoubleArray JNICALL Java_io_pdal_PointView_rasterizeTriangularMesh
368
368
double scancol0 = std::max (std::ceil ((xmin - exmin) / w - 0.5 ), 0.0 );
369
369
double scanx = exmin + scancol0 * w + w / 2 ;
370
370
371
- while (scanx < exmax && scanx < xmax)
371
+ while (scanx <= exmax && scanx <= xmax)
372
372
{
373
373
int col = (int )((scanx - exmin) / w);
374
374
int row = (int )((eymax - scany) / h);
You can’t perform that action at this time.
0 commit comments