blob: 066099d4687d931a3feacf127b06a9bdb770cbf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef _SOFTSHADEROOM_GIZMO_H_
#define _SOFTSHADEROOM_GIZMO_H_
#include "../extern/wog.h"
#include "../math/math.h"
#include "../core/vert.h"
/*gizmos for visualizing*/
typedef enum GizmoIcon2d {
ICON2D_LIGHT,
ICON2D_CAMERA,
}GizmoIcon2d;
void gizmo_init();
void gizmo_onevent(wog_Event* e, float dt);
void gizmo_onupdate(float dt);
void gizmo_ondraw();
void gizmo_grid();
void gizmo_axis();
void gizmo_icon2d(float x, float y, float z, GizmoIcon2d icon);
void gizmo_line(Vec3 start, Vec3 end, Color32 color);
#endif
|