This class describes a three-dimensional integer vector.
| Property | Type | Description |
|---|---|---|
| x | integer | x component of the vector |
| y | integer | y component of the vector |
| z | integer | z component of the vector |
| iVec3 | function | iVec3(number x) |
| iVec3 | function | iVec3(number x, number y, number z) |
-- Create a new iVec3 with x = 1
local vec1 = iVec3(1)
-- Create a new iVec3 with x = 2, y = 3, and z = 4
local vec2 = iVec3(2, 3, 4)