twn_draw.c: draw_camera_2d()!
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user