initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# https://github.com/godotengine/godot/issues/75832
|
||||
|
||||
@warning_ignore_start("narrowing_conversion")
|
||||
func test():
|
||||
var hf := 2.0
|
||||
var sf = 2.0
|
||||
|
||||
var i := 2
|
||||
i *= hf
|
||||
i *= sf
|
||||
i *= 2.0
|
||||
print(i)
|
||||
var v2 := Vector2i(1, 2)
|
||||
v2 *= hf
|
||||
v2 *= sf
|
||||
v2 *= 2.0
|
||||
print(v2)
|
||||
var v3 := Vector3i(1, 2, 3)
|
||||
v3 *= hf
|
||||
v3 *= sf
|
||||
v3 *= 2.0
|
||||
print(v3)
|
||||
var v4 := Vector4i(1, 2, 3, 4)
|
||||
v4 *= hf
|
||||
v4 *= sf
|
||||
v4 *= 2.0
|
||||
print(v4)
|
||||
|
||||
var arr := [1, 2, 3]
|
||||
arr += [4, 5]
|
||||
print(arr)
|
Reference in New Issue
Block a user