Dreamteck / splines

The official Dreamteck Splines for Unity repository
Apache License 2.0
22 stars 2 forks source link

Compensate only X scale #5

Open Kronoxis opened 1 year ago

Kronoxis commented 1 year ago

As mentioned here, this PR fixes the bug that causes the generated path with corner compensation and Y offset to become elevated. image

Tests can be checked out on this branch

Note that this is a breaking API change - anyone who has used the GetSampleWithAngleCompensation method before must now pass a out float scaleFactor as third parameter.