godot/modules/gdscript/tests/scripts/parser/features/vector_inf.gd

7 lines
108 B
GDScript

func test():
var vec2: = Vector2.INF
var vec3: = Vector3.INF
print(vec2.x == INF)
print(vec3.z == INF)