local v = ffi.new("Vec2", 1.5, 2.5) -- 等价 C 的 Vec2 v = {1.5, 2.5}; print(v.x, v.y) -- 1.5 2.5 v.x = v.x + 10 print(v.x) -- 11.5 -- 数组:1000 个 Vec2 ...
In addition to running the scripts, the tool that you are using right now provides you with another way to experiment with the code you are writing. It allows you to open a special window to run ...