@quenty/draw 7.9.0 → 7.9.1

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
+ ## [7.9.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/draw@7.9.0...@quenty/draw@7.9.1) (2025-10-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Drawing ([#598](https://github.com/Quenty/NevermoreEngine/issues/598)) ([97950ce](https://github.com/Quenty/NevermoreEngine/commit/97950ceef7f6107eaa2e11bd05da78353c815542))
12
+
13
+
14
+
15
+
16
+
6
17
  # [7.9.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/draw@7.8.4...@quenty/draw@7.9.0) (2025-05-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/draw
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/draw",
3
- "version": "7.9.0",
3
+ "version": "7.9.1",
4
4
  "description": "A utility library to debug things in 3D space for Roblox.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -32,5 +32,5 @@
32
32
  "@quenty/loader": "^10.9.0",
33
33
  "@quenty/maid": "^3.5.0"
34
34
  },
35
- "gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
35
+ "gitHead": "75a275717ba65ddc12777ce288decd4b0d40d2fa"
36
36
  }
@@ -106,6 +106,25 @@ function Draw.direction(
106
106
  return Draw.ray(Ray.new(origin, direction), color, parent, diameter)
107
107
  end
108
108
 
109
+ --[=[
110
+ Draws a shapecast
111
+ ]=]
112
+ function Draw.shapecast(part: BasePart, origin: CFrameLike, direction: Vector3Like, color: Color3Like?)
113
+ local castOrigin = assert(Draw._toCFrame(origin), "Bad origin")
114
+ local castDirection = assert(Draw._toVector3(direction), "Bad direction")
115
+
116
+ local folder = Instance.new("Folder")
117
+ folder.Name = "ShapeCast"
118
+ folder.Archivable = false
119
+
120
+ for percent = 0, 1, 0.05 do
121
+ local cframe = castOrigin + (castDirection * percent)
122
+ Draw.part(part, cframe, color)
123
+ end
124
+
125
+ return folder
126
+ end
127
+
109
128
  --[=[
110
129
  Draws a spherecast
111
130