JSPM

  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q74338F
  • License MIT

Utility to position the sun and to retrieve sun information specific to Roblox.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@quenty/sunpositionutils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    SunPositionUtils

    Utility to position the sun

    Installation

    npm install @quenty/sunpositionutils --save

    Usage

    Usage is designed to be simple.

    SunPositionUtils.getGeographicalLatitudeFromDirection(direction)

    SunPositionUtils.getClockTimeFromDirection(direction)

    SunPositionUtils.getDirection(azimuthRad, altitudeRad, north)