rbxmk
rbxmk copied to clipboard
Support type constants
Roblox added constants like Vector3.zero
and CFrame.identity
. These should be added to rbxmk.
List of constants:
-
CFrame.identity = CFrame.new()
-
Vector3.zero = Vector3.new()
-
Vector3.one = Vector3.new(1, 1, 1)
-
Vector3.xAxis = Vector3.new(1, 0, 0)
-
Vector3.yAxis = Vector3.new(0, 1, 0)
-
Vector3.zAxis = Vector3.new(0, 0, 1)
-
Vector2.zero = Vector2.new()
-
Vector2.one = Vector2.new(1, 1)
-
Vector2.xAxis = Vector2.new(1, 0)
-
Vector2.yAxis = Vector2.new(0, 1)
Implement by adding a Constants
field to Reflector. This is similar to Constructors, but adds constant values instead.
Roblox seems to refer to these as "static" values.