diff options
author | chai <chaifix@163.com> | 2019-12-15 00:39:18 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-12-15 00:39:18 +0800 |
commit | 749bbc6a54e50c297ab49d9e515a3679651d1461 (patch) | |
tree | 097bbe044332e816aa481db1a4e325b8d3f63b0d /src/gizmo | |
parent | 3f44877edfe4c301b258d522bcb4e8d9b6e92382 (diff) |
*misc
Diffstat (limited to 'src/gizmo')
-rw-r--r-- | src/gizmo/gizmo.h | 17 | ||||
-rw-r--r-- | src/gizmo/icon2d.c | 0 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/gizmo/gizmo.h b/src/gizmo/gizmo.h new file mode 100644 index 0000000..9e416d0 --- /dev/null +++ b/src/gizmo/gizmo.h @@ -0,0 +1,17 @@ +#ifndef _SOFTSHADEROOM_GIZMO_H_ +#define _SOFTSHADEROOM_GIZMO_H_ + +#include "../math/math.h" + +/*gizmos for visualizing*/ + +typedef enum GizmoIcon2d { + ICON2D_LIGHT, + ICON2D_CAMERA, +}GizmoIcon2d; + +void gizmo_icon2d(float x, float y, float z, GizmoIcon2d icon); + + + +#endif
\ No newline at end of file diff --git a/src/gizmo/icon2d.c b/src/gizmo/icon2d.c new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/gizmo/icon2d.c |