Skip to content

Commit 6a73362

Browse files
committed
remove unused code
1 parent 7606415 commit 6a73362

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

iOverlay/src/vector/simplify.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,6 @@ fn direction(edge: &VectorEdge) -> IntPoint {
234234
edge.b - edge.a
235235
}
236236

237-
#[inline]
238-
fn is_collinear(a: IntPoint, b: IntPoint, c: IntPoint) -> bool {
239-
let ab = b.subtract(a);
240-
let bc = c.subtract(b);
241-
ab.cross_product(bc) == 0
242-
}
243-
244237
#[cfg(test)]
245238
mod tests {
246239
use crate::vector::simplify::{IntPoint, VectorSimplify};

0 commit comments

Comments
 (0)