@quenty/cframeserializer 4.7.4 → 4.7.5-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 +8 -0
- package/package.json +4 -4
- package/src/Shared/CFrameSerializer.lua +5 -5
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
|
+
## [4.7.5-canary.11a5dcf.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/cframeserializer@4.7.4...@quenty/cframeserializer@4.7.5-canary.11a5dcf.0) (2025-05-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/cframeserializer
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [4.7.4](https://github.com/Quenty/NevermoreEngine/compare/@quenty/cframeserializer@4.7.3...@quenty/cframeserializer@4.7.4) (2025-04-10)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/cframeserializer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/cframeserializer",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.5-canary.11a5dcf.0",
|
|
4
4
|
"description": "Optimized these functions for speed as well as preserving fidality. In the future, use Roblox's orthogonal angle format.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@quenty/loader": "
|
|
32
|
-
"@quenty/math": "
|
|
31
|
+
"@quenty/loader": "10.8.4-canary.11a5dcf.0",
|
|
32
|
+
"@quenty/math": "2.7.3"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
|
|
35
35
|
}
|
|
@@ -110,12 +110,12 @@ function CFrameSerializer.readRotationAzure(data: SerializedCFrame): CFrame
|
|
|
110
110
|
local roll = data[5] -- Buffer:ReadSigned(21)
|
|
111
111
|
local elevation = data[6] -- Buffer:ReadSigned(21)
|
|
112
112
|
|
|
113
|
-
azumith = math.pi * (azumith/PRECISION)
|
|
114
|
-
roll = math.pi * (roll/PRECISION)
|
|
115
|
-
elevation = (math.pi/2) * (elevation/PRECISION)
|
|
113
|
+
azumith = math.pi * (azumith / PRECISION)
|
|
114
|
+
roll = math.pi * (roll / PRECISION)
|
|
115
|
+
elevation = (math.pi / 2) * (elevation / PRECISION)
|
|
116
116
|
|
|
117
117
|
local cframe = CFrame.Angles(0, azumith, 0) * CFrame.Angles(elevation, 0, roll)
|
|
118
|
-
return cframe + Vector3.new(data[1]/MULTIPLIER, data[2]/MULTIPLIER, data[3]/MULTIPLIER) --, azumith, roll, elevation}
|
|
118
|
+
return cframe + Vector3.new(data[1] / MULTIPLIER, data[2] / MULTIPLIER, data[3] / MULTIPLIER) --, azumith, roll, elevation}
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
return CFrameSerializer
|
|
121
|
+
return CFrameSerializer
|