@quenty/sunpositionutils 2.3.2-canary.547.ba47c62.0 → 2.3.3-canary.11a5dcf.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,7 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [2.3.2-canary.547.ba47c62.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/sunpositionutils@2.3.0...@quenty/sunpositionutils@2.3.2-canary.547.ba47c62.0) (2025-04-07)
6
+ ## [2.3.3-canary.11a5dcf.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/sunpositionutils@2.3.2...@quenty/sunpositionutils@2.3.3-canary.11a5dcf.0) (2025-05-10)
7
+
8
+ **Note:** Version bump only for package @quenty/sunpositionutils
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.3.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/sunpositionutils@2.3.0...@quenty/sunpositionutils@2.3.2) (2025-04-07)
7
15
 
8
16
 
9
17
  ### Bug Fixes
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-2024 James Onnen (Quenty)
3
+ Copyright (c) 2014-2025 James Onnen (Quenty)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/sunpositionutils",
3
- "version": "2.3.2-canary.547.ba47c62.0",
3
+ "version": "2.3.3-canary.11a5dcf.0",
4
4
  "description": "Utility to position the sun and to retrieve sun information specific to Roblox.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,5 +27,5 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "ba47c62e32170bf74377b0c658c60b84306dc294"
30
+ "gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
31
31
  }
@@ -75,7 +75,7 @@ end
75
75
  @return Vector3 -- Moon position
76
76
  ]=]
77
77
  function SunPositionUtils.getSunPosition(clockTime: number, geoLatitude: number): (Vector3, Vector3)
78
- local seconds = clockTime*60*60
78
+ local seconds = clockTime * 60 * 60
79
79
  local DAY = 24 * 60 * 60
80
80
  local YEAR = 365.2564 * DAY
81
81
  local HALFYEAR = 182.6282
@@ -93,7 +93,7 @@ function SunPositionUtils.getSunPosition(clockTime: number, geoLatitude: number)
93
93
  local trueSunPosition = CFrame.fromAxisAngle(ZAXIS:Cross(sunPosition), sunOffset) * sunPosition
94
94
  local trueMoonPosition = CFrame.fromAxisAngle(ZAXIS:Cross(moonPosition), sunOffset) * moonPosition
95
95
 
96
- return trueSunPosition, trueMoonPosition*Vector3.new(1, -1, 1)
96
+ return trueSunPosition, trueMoonPosition * Vector3.new(1, -1, 1)
97
97
  end
98
98
 
99
- return SunPositionUtils
99
+ return SunPositionUtils