forked from StrafesNET/strafe-client
6 lines
228 B
Lua
6 lines
228 B
Lua
type f64 = number
|
|
type vec3 = (x: f64, y: f64, z: f64) -> {x: f64, y: f64, z: f64}
|
|
local Vector3: vec3 = Vector3
|
|
|
|
local v3 = Vector3(-10, 30, 50)
|
|
print((`{("\n"):rep(3)} x=%d,y=%d,z=%d {("\n"):rep(3)}`):format(v3.x, v3.y, v3.z)) |