Skip to content

Release 2.1.0#74

Merged
Whathecode merged 5 commits into
mainfrom
develop
May 30, 2025
Merged

Release 2.1.0#74
Whathecode merged 5 commits into
mainfrom
develop

Conversation

@Whathecode

@Whathecode Whathecode commented May 30, 2025

Copy link
Copy Markdown
Owner

Additions to Interval:

  • getPercentageFor() retrieves the percentage how far within (0.0-1.0) or outside (< 0.0, > 1.0) of the interval a value lies. In combination with the previously added getValueAt(), this supports quick type safe linear interpolation.

Dependency updates:

  • Kotlin 2.1.21
  • kotlinx.datetime 0.6.2

There was no need to rely on TSize operations, as values of T could directly be converted to doubles. This is clearer, and in all likelihood also more performant.
@Whathecode Whathecode merged commit 9bac11b into main May 30, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant