Terra icon indicating copy to clipboard operation
Terra copied to clipboard

A scaling function for ColorSampler

Open ItsJuls opened this issue 4 weeks ago • 0 comments

Pull Request

Description

Fixes/Addresses #537 and adds a new ScaleColorSampler.java to the image library addon

Changelog

  • [x] Added ScaleColorSampler.java and its templates, registries
  • [x] Tested within a development server with the interpolation features

Checklist

Mandatory checks

  • [ ] The base branch of this PR is an unreleased version branch (that has a ver/ prefix) or is a branch that is intended to be merged into a version branch.
  • [x] There are no already existing PRs that provide the same changes.
  • [x] The PR is within the scope of Terra (i.e. is something a configurable terrain generator should be doing).
  • [x] Changes follow the code style for this project.
  • [x] I have read the CONTRIBUTING.md document in the root of the git repository.

Types of changes

  • [ ] Bug Fix
  • [ ] Build system
  • [ ] Documentation
  • [x] New Feature
  • [ ] Performance
  • [ ] Refactoring
  • [ ] Repository
  • [ ] Revert
  • [ ] Style
  • [ ] Tests
  • [ ] Translation

Compatibility

  • [ ] Introduces a breaking change
  • [x] Introduces new functionality in a backwards compatible way.
  • [ ] Introduces bug fixes

Documentation

  • [x] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.

Testing

  • [x] I have added tests to cover my changes.
  • [x] All new and existing tests passed.

Licensing

  • [x] I am the original author of this code, and I am willing to release it under GPLv3.
  • [ ] I am not the original author of this code, but it is in public domain or released under GPLv3 or a compatible license.

ItsJuls avatar Dec 04 '25 14:12 ItsJuls