twn_draw.c: draw_camera_2d()!
This commit is contained in:
@ -81,6 +81,10 @@ TWN_API void draw_billboard(const char *texture,
|
||||
Color color, /* optional, default: all 255 */
|
||||
bool cylindrical); /* optional, default: false */
|
||||
|
||||
TWN_API void draw_camera_2d(Vec2 position, /* optional, default: (0, 0) */
|
||||
float rotation, /* optional, default: 0 */
|
||||
float zoom); /* optional, default: 1 */
|
||||
|
||||
/* sets a perspective 3d camera to be used for all 3d commands */
|
||||
/* fov = 0 corresponds to orthographic projection */
|
||||
TWN_API void draw_camera(Vec3 position,
|
||||
|
Reference in New Issue
Block a user