Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

0.2.0

Latest
Compare
Choose a tag to compare
@matanlurey matanlurey released this 04 Aug 19:59
· 1 commit to main since this release

0.2.0

New features:

  • Added ScalarField, a 2-dimensional field of scalar values, typically built
    from patterns or noise functions, and buildPlaneMap, a utility function to
    build a flat plane from a ScalarField, useful for terrain generation.

Breaking changes:

  • Added <Plattern>.get2df, as an alternative to get2d that takes floating
    point coordinates, which is required for some use cases such the aformentioned
    buildPlaneMap. get2d still exists and is recommended for integer
    coordinates, and is automatically converted to get2df when needed.

Bug fixes:

  • Fixed a variety of small math bugs that are hard to describe in detail.