diff options
author | chai <chaifix@163.com> | 2020-02-26 22:52:19 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-02-26 22:52:19 +0800 |
commit | 372d77e436d21312ef1a0df622964751716963a3 (patch) | |
tree | 1a71865fea6fb9f2f532422c4b83959fff17ea76 /src/gizmo/gizmo.h | |
parent | 27687536844ed3b045bba1abd1aae8bb3692f6cb (diff) |
*misc
Diffstat (limited to 'src/gizmo/gizmo.h')
-rw-r--r-- | src/gizmo/gizmo.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/gizmo/gizmo.h b/src/gizmo/gizmo.h index 9e416d0..e95880b 100644 --- a/src/gizmo/gizmo.h +++ b/src/gizmo/gizmo.h @@ -1,7 +1,9 @@ #ifndef _SOFTSHADEROOM_GIZMO_H_ #define _SOFTSHADEROOM_GIZMO_H_ +#include "../extern/wog.h" #include "../math/math.h" +#include "../core/vert.h" /*gizmos for visualizing*/ @@ -10,8 +12,16 @@ typedef enum GizmoIcon2d { ICON2D_CAMERA, }GizmoIcon2d; -void gizmo_icon2d(float x, float y, float z, GizmoIcon2d icon); +void gizmo_init(); + +void gizmo_onevent(wog_Event* e, float dt); +void gizmo_onupdate(float dt); +void gizmo_ondraw(); +void gizmo_grid(); + +void gizmo_icon2d(float x, float y, float z, GizmoIcon2d icon); +void gizmo_line(Vec3 start, Vec3 end, Color32 color); #endif
\ No newline at end of file |