Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KatKatKateryna committed Jun 29, 2024
1 parent e8bfa58 commit 85442cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public SOG.Point OffsetRotateOnSend(SOG.Point point)
private readonly SOG.Point ScalePoint(SOG.Point point, string fromUnit, string toUnit)
{
double scaleFactor = Units.GetConversionFactor(fromUnit, toUnit);
return new SOG.Point(point.x * scaleFactor, point.x * scaleFactor, point.z * scaleFactor, toUnit);
return new SOG.Point(point.x * scaleFactor, point.y * scaleFactor, point.z * scaleFactor, toUnit);
}

private readonly string GetSpeckleUnit(ACG.SpatialReference spatialReference)
Expand Down

0 comments on commit 85442cd

Please sign in to comment.