1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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