Skip to content

Commit afa548b

Browse files
author
Anaminus
committed
Fix endianness of rfloats.
1 parent fcc8551 commit afa548b

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

formats/rbxl.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -655,10 +655,10 @@ Corresponds to the "UDim" Roblox data type.
655655

656656
A **UDim** is a structure with the following fields:
657657

658-
Field | Type | Description
659-
-------|------------|------------
660-
Scale | `rfloat32` | Corresponds to `UDim.Scale`.
661-
Offset | `zint32` | Corresponds to `UDim.Offset`.
658+
Field | Type | Description
659+
-------|-------------|------------
660+
Scale | `rfloat32b` | Corresponds to `UDim.Scale`.
661+
Offset | `zint32` | Corresponds to `UDim.Offset`.
662662

663663
## UDim2
664664
[UDim2]: #udim2
@@ -670,12 +670,12 @@ Corresponds to the "UDim2" Roblox data type.
670670

671671
A **UDim2** is a structure with the following fields:
672672

673-
Field | Type | Description
674-
--------|------------|------------
675-
ScaleX | `rfloat32` | Corresponds to `UDim2.X.Scale`.
676-
ScaleY | `rfloat32` | Corresponds to `UDim2.Y.Scale`.
677-
OffsetX | `zint32` | Corresponds to `UDim2.X.Offset`.
678-
OffsetY | `zint32` | Corresponds to `UDim2.Y.Offset`.
673+
Field | Type | Description
674+
--------|-------------|------------
675+
ScaleX | `rfloat32b` | Corresponds to `UDim2.X.Scale`.
676+
ScaleY | `rfloat32b` | Corresponds to `UDim2.Y.Scale`.
677+
OffsetX | `zint32` | Corresponds to `UDim2.X.Offset`.
678+
OffsetY | `zint32` | Corresponds to `UDim2.Y.Offset`.
679679

680680
## Ray
681681
[Ray]: #ray
@@ -758,11 +758,11 @@ Corresponds to the "Color3" Roblox data type.
758758

759759
A **Color3** is a structure with the following fields:
760760

761-
Field | Type | Description
762-
------|------------|------------
763-
R | `rfloat32` | Corresponds to `Color3.R`.
764-
G | `rfloat32` | Corresponds to `Color3.G`.
765-
B | `rfloat32` | Corresponds to `Color3.B`.
761+
Field | Type | Description
762+
------|-------------|------------
763+
R | `rfloat32b` | Corresponds to `Color3.R`.
764+
G | `rfloat32b` | Corresponds to `Color3.G`.
765+
B | `rfloat32b` | Corresponds to `Color3.B`.
766766

767767
## Vector2
768768
[Vector2]: #vector2
@@ -774,10 +774,10 @@ Corresponds to the "Vector2" Roblox data type.
774774

775775
A **Vector2** is a structure with the following fields:
776776

777-
Field | Type | Description
778-
------|------------|------------
779-
X | `rfloat32` | Corresponds to `Vector2.X`.
780-
Y | `rfloat32` | Corresponds to `Vector2.Y`.
777+
Field | Type | Description
778+
------|-------------|------------
779+
X | `rfloat32b` | Corresponds to `Vector2.X`.
780+
Y | `rfloat32b` | Corresponds to `Vector2.Y`.
781781

782782
## Vector3
783783
[Vector3]: #vector3
@@ -789,11 +789,11 @@ Corresponds to the "Vector3" Roblox data type.
789789

790790
A **Vector3** is a structure with the following fields:
791791

792-
Field | Type | Description
793-
------|------------|------------
794-
X | `rfloat32` | Corresponds to `Vector3.X`.
795-
Y | `rfloat32` | Corresponds to `Vector3.Y`.
796-
Z | `rfloat32` | Corresponds to `Vector3.Z`.
792+
Field | Type | Description
793+
------|-------------|------------
794+
X | `rfloat32b` | Corresponds to `Vector3.X`.
795+
Y | `rfloat32b` | Corresponds to `Vector3.Y`.
796+
Z | `rfloat32b` | Corresponds to `Vector3.Z`.
797797

798798
## Vector2int16
799799
[Vector2int16]: #vector2int16

0 commit comments

Comments
 (0)