@quenty/draw 2.2.2 → 2.2.3-canary.251.86f4a16.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 +8 -0
- package/package.json +2 -2
- package/src/Shared/Draw.lua +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.2.3-canary.251.86f4a16.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/draw@2.2.2...@quenty/draw@2.2.3-canary.251.86f4a16.0) (2022-03-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/draw
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [2.2.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/draw@2.2.1...@quenty/draw@2.2.2) (2022-01-16)
|
|
7
15
|
|
|
8
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/draw",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3-canary.251.86f4a16.0",
|
|
4
4
|
"description": "A utility library to debug things in 3D space for Roblox.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "86f4a1664de613b1bcdd146b6833d9cf3202546f"
|
|
32
32
|
}
|
package/src/Shared/Draw.lua
CHANGED
|
@@ -309,7 +309,7 @@ end
|
|
|
309
309
|
]=]
|
|
310
310
|
function Draw.point(position, color, parent, diameter)
|
|
311
311
|
if typeof(position) == "CFrame" then
|
|
312
|
-
position = position.
|
|
312
|
+
position = position.Position
|
|
313
313
|
end
|
|
314
314
|
|
|
315
315
|
assert(typeof(position) == "Vector3", "Bad position")
|
|
@@ -364,7 +364,7 @@ end
|
|
|
364
364
|
]=]
|
|
365
365
|
function Draw.labelledPoint(position, label, color, parent)
|
|
366
366
|
if typeof(position) == "CFrame" then
|
|
367
|
-
position = position.
|
|
367
|
+
position = position.Position
|
|
368
368
|
end
|
|
369
369
|
|
|
370
370
|
local part = Draw.point(position, color, parent)
|