twn_api.json: add draw_line_3d()

This commit is contained in:
veclavtalica 2025-03-01 03:59:55 +03:00
parent 307d5552f6
commit 2f6f7852be

View File

@ -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",