diff options
Diffstat (limited to 'src/gizmo/visualize.h')
-rw-r--r-- | src/gizmo/visualize.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gizmo/visualize.h b/src/gizmo/visualize.h new file mode 100644 index 0000000..c449e6a --- /dev/null +++ b/src/gizmo/visualize.h @@ -0,0 +1,17 @@ +#ifndef _SSR_VISUALIZE_H_ +#define _SSR_VISUALIZE_H_ + +#include "../core/device.h" +#include "../extend/mesh.h" +#include "../util/darray.h" + +enum { + VISUAL_TANGNET = 1, + VISUAL_NORMAL = 1 << 1, + VISUAL_BITANGENT = 1 << 2, + VISUAL_ALL = ~0u, +}; + +void draw_tbn(Mesh* mesh, uint mask, int length); + +#endif
\ No newline at end of file |