Skip to content

Commit

Permalink
geometry: fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arrufat committed Nov 9, 2024
1 parent 8a3e110 commit 479e4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geometry.zig
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ pub fn AffineTransform(comptime T: type) type {
return .{ .x = dst.at(0, 0) + self.bias.at(0, 0), .y = dst.at(1, 0) + self.bias.at(1, 0) };
}

/// Finds the best similarity transforms that maps between the two given sets of points.
/// Finds the best affine transform that maps between the two given sets of points.
pub fn fit(self: *Self, from_points: [3]Point2d(T), to_points: [3]Point2d(T)) void {
assert(from_points.len >= 2);
assert(from_points.len == to_points.len);
Expand Down

0 comments on commit 479e4a8

Please sign in to comment.