@quenty/inputobjectutils 4.19.0-canary.ae8d76d.0 → 4.19.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,7 @@
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
- # [4.19.0-canary.ae8d76d.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputobjectutils@4.18.3...@quenty/inputobjectutils@4.19.0-canary.ae8d76d.0) (2025-05-10)
6
+ # [4.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputobjectutils@4.18.3...@quenty/inputobjectutils@4.19.0) (2025-05-10)
7
7
 
8
8
 
9
9
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/inputobjectutils",
3
- "version": "4.19.0-canary.ae8d76d.0",
3
+ "version": "4.19.0",
4
4
  "description": "Provides utility functions involving input objects",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -28,11 +28,11 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@quenty/baseobject": "10.8.3",
32
- "@quenty/loader": "10.8.3",
33
- "@quenty/maid": "3.4.3",
34
- "@quenty/rx": "13.18.0-canary.ae8d76d.0",
35
- "@quenty/rxsignal": "7.18.0-canary.ae8d76d.0"
31
+ "@quenty/baseobject": "^10.9.0",
32
+ "@quenty/loader": "^10.9.0",
33
+ "@quenty/maid": "^3.5.0",
34
+ "@quenty/rx": "^13.18.0",
35
+ "@quenty/rxsignal": "^7.18.0"
36
36
  },
37
- "gitHead": "ae8d76d996594e017ac4bfa19f3c064ebe307cd8"
37
+ "gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
38
38
  }
@@ -135,16 +135,14 @@ function InputObjectRayUtils.generateCircleRays(ray: Ray, count: number, radius:
135
135
 
136
136
  local cframePointing = CFrame.new(origin, origin + direction)
137
137
 
138
- for i=1, count do
138
+ for i = 1, count do
139
139
  local angle = math.pi * 2 * (i - 1) / count
140
- local offset = cframePointing:VectorToWorldSpace(Vector3.new(
141
- math.cos(angle)*radius,
142
- math.sin(angle)*radius,
143
- 0))
140
+ local offset =
141
+ cframePointing:VectorToWorldSpace(Vector3.new(math.cos(angle) * radius, math.sin(angle) * radius, 0))
144
142
  table.insert(rays, Ray.new(origin + offset, direction))
145
143
  end
146
144
 
147
145
  return rays
148
146
  end
149
147
 
150
- return InputObjectRayUtils
148
+ return InputObjectRayUtils
@@ -31,8 +31,8 @@
31
31
 
32
32
  local require = require(script.Parent.loader).load(script)
33
33
 
34
- local Workspace = game:GetService("Workspace")
35
34
  local UserInputService = game:GetService("UserInputService")
35
+ local Workspace = game:GetService("Workspace")
36
36
 
37
37
  local BaseObject = require("BaseObject")
38
38
  local InputObjectRayUtils = require("InputObjectRayUtils")
@@ -170,4 +170,4 @@ function InputObjectTracker.SetCamera(self: InputObjectTracker, camera: Camera):
170
170
  self._camera = camera
171
171
  end
172
172
 
173
- return InputObjectTracker
173
+ return InputObjectTracker
@@ -7,17 +7,17 @@
7
7
  local InputObjectUtils = {}
8
8
 
9
9
  local MOUSE_USER_INPUT_TYPES = {
10
- [Enum.UserInputType.MouseButton1] = true;
11
- [Enum.UserInputType.MouseButton2] = true;
12
- [Enum.UserInputType.MouseButton3] = true;
13
- [Enum.UserInputType.MouseWheel] = true;
14
- [Enum.UserInputType.MouseMovement] = true;
10
+ [Enum.UserInputType.MouseButton1] = true,
11
+ [Enum.UserInputType.MouseButton2] = true,
12
+ [Enum.UserInputType.MouseButton3] = true,
13
+ [Enum.UserInputType.MouseWheel] = true,
14
+ [Enum.UserInputType.MouseMovement] = true,
15
15
  }
16
16
 
17
17
  local MOUSE_BUTTON_USER_INPUT_TYPES = {
18
- [Enum.UserInputType.MouseButton1] = true;
19
- [Enum.UserInputType.MouseButton2] = true;
20
- [Enum.UserInputType.MouseButton3] = true;
18
+ [Enum.UserInputType.MouseButton1] = true,
19
+ [Enum.UserInputType.MouseButton2] = true,
20
+ [Enum.UserInputType.MouseButton3] = true,
21
21
  }
22
22
 
23
23
  --[=[
@@ -67,4 +67,4 @@ function InputObjectUtils.isSameInputObject(inputObject: InputObject, otherInput
67
67
  return false
68
68
  end
69
69
 
70
- return InputObjectUtils
70
+ return InputObjectUtils
@@ -7,9 +7,9 @@ local require = require(script.Parent.loader).load(script)
7
7
 
8
8
  local UserInputService = game:GetService("UserInputService")
9
9
 
10
+ local InputObjectUtils = require("InputObjectUtils")
10
11
  local Maid = require("Maid")
11
12
  local Observable = require("Observable")
12
- local InputObjectUtils = require("InputObjectUtils")
13
13
 
14
14
  local RxInputObjectUtils = {}
15
15
 
@@ -51,4 +51,4 @@ function RxInputObjectUtils.observeInputObjectEnded(initialInputObject: InputObj
51
51
  end)
52
52
  end
53
53
 
54
- return RxInputObjectUtils
54
+ return RxInputObjectUtils