Vertex
Fields
This class has no fields.
Functions
new
Name | Type | Description |
---|---|---|
x | float | - |
y | float | - |
Return value
Name | Type | Description |
---|---|---|
vertex | Vertex | - |
local vertex = Vertex.new(1.0, 2.0)
new
Name | Type | Description |
---|---|---|
pos | Vector2 | - |
coord | Vector2 | - (not required) |
Return value
Name | Type | Description |
---|---|---|
vertex | Vertex | - |
local vertex = Vertex.new(Vector2.new(1.0, 2.0))