swap point_f and point functions

This commit is contained in:
Henry Schimke
2023-05-04 14:50:32 -05:00
parent 80f06ecb3c
commit 3fc068f49b
38 changed files with 210 additions and 217 deletions

View File

@@ -16,7 +16,7 @@
use std::hash::Hash;
use crate::{point, Point};
use crate::{point_f, Point};
/**
* Encapsulates an RSS barcode finder pattern, including its start/end position and row.
@@ -34,8 +34,8 @@ impl FinderPattern {
value,
startEnd,
resultPoints: vec![
point(start as f32, rowNumber as f32),
point(end as f32, rowNumber as f32),
point_f(start as f32, rowNumber as f32),
point_f(end as f32, rowNumber as f32),
],
}
}