1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Merge pull request #70899 from adamscott/fix-vector-inf

Fix parse error using Vector{2,3,4}.INF
This commit is contained in:
Rémi Verschelde
2023-01-12 15:59:01 +01:00
committed by GitHub
3 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
func test():
var vec2: = Vector2.INF
var vec3: = Vector3.INF
print(vec2.x == INF)
print(vec3.z == INF)

View File

@@ -0,0 +1,3 @@
GDTEST_OK
true
true