twn_draw.c: draw_camera_2d()!

This commit is contained in:
veclavtalica
2025-02-05 00:54:38 +03:00
parent d9d7072c86
commit d9df3f9b04
6 changed files with 63 additions and 3 deletions

View File

@ -185,6 +185,17 @@
]
},
"draw_camera_2d": {
"module": "draw",
"symbol": "camera_2d",
"header": "twn_draw.h",
"params": [
{ "name": "position", "type": "Vec2", "default": { "x": 0, "y": 0 } },
{ "name": "rotation", "type": "float", "default": 0 },
{ "name": "zoom", "type": "float", "default": 1 }
]
},
"draw_camera": {
"module": "draw",
"symbol": "camera",