twn_api.json: add draw_line_3d()
This commit is contained in:
parent
307d5552f6
commit
2f6f7852be
@ -144,6 +144,18 @@
|
||||
]
|
||||
},
|
||||
|
||||
"draw_line_3d": {
|
||||
"module": "draw",
|
||||
"symbol": "line_3d",
|
||||
"header": "twn_draw.h",
|
||||
"params": [
|
||||
{ "name": "start", "type": "Vec3" },
|
||||
{ "name": "finish", "type": "Vec3" },
|
||||
{ "name": "thickness", "type": "float", "default": 1 },
|
||||
{ "name": "color", "type": "Color", "default": { "r": 255, "g": 255, "b": 255, "a": 255 } }
|
||||
]
|
||||
},
|
||||
|
||||
"draw_triangle": {
|
||||
"module": "draw",
|
||||
"symbol": "triangle",
|
||||
|
Loading…
Reference in New Issue
Block a user