@quenty/geometryutils 2.3.0 → 2.4.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,6 +3,17 @@
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.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.3.0...@quenty/geometryutils@2.4.0) (2023-02-21)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Return nil if viewportSize is less than zero ([06981a8](https://github.com/Quenty/NevermoreEngine/commit/06981a891c280f6a85014a65b438a70fc08a344a))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.2.0...@quenty/geometryutils@2.3.0) (2022-12-06)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/geometryutils",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Utility functions involving 3D and 2D geometry",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@quenty/draw": "^4.2.0",
32
- "@quenty/loader": "^6.0.1"
32
+ "@quenty/loader": "^6.1.0"
33
33
  },
34
- "gitHead": "d9b0d10faa443cc42a6c2ac966f2f56d124bbde5"
34
+ "gitHead": "e084b0cc097ddbcb7c782b8ecbd9c2d619c49354"
35
35
  }
@@ -32,7 +32,7 @@ function CameraPyramidUtils.rayIntersection(camera, rayOrigin, unitRayDirection,
32
32
  unitRayDirection = unitRayDirection.unit
33
33
  local camCFrame = camera.CFrame
34
34
  local viewportSize = camera.ViewportSize
35
- if viewportSize.x == 0 or viewportSize.y == 0 then
35
+ if viewportSize.x <= 0 or viewportSize.y <= 0 then
36
36
  return nil, nil
37
37
  end
38
38