diff options
author | chai <chaifix@163.com> | 2020-07-19 17:10:15 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-07-19 17:10:15 +0800 |
commit | 20ab601ffbb5a42c1cca21c44211c58bb129076f (patch) | |
tree | 7bfe918eae323dea936c0d6ffe779558dd84682f /src/gizmo/visualize.h | |
parent | 5b89a0fab0a46764c92979797681bf170125a7da (diff) |
+misc
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 |