summaryrefslogtreecommitdiff
path: root/src/gizmo/gizmo.h
blob: e95880b0133c2f7627792da728b3ddf05e382bb8 (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
#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_icon2d(float x, float y, float z, GizmoIcon2d icon);

void gizmo_line(Vec3 start, Vec3 end, Color32 color);

#endif