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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
108 B
GDScript3
Raw Normal View History

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