diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_subdiv.h')
-rw-r--r-- | source/blender/blenkernel/BKE_subdiv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv.h b/source/blender/blenkernel/BKE_subdiv.h index 08f3921228b..0d262b53743 100644 --- a/source/blender/blenkernel/BKE_subdiv.h +++ b/source/blender/blenkernel/BKE_subdiv.h @@ -259,6 +259,12 @@ BLI_INLINE int BKE_subdiv_rotate_quad_to_corner( const float quad_u, const float quad_v, float *r_corner_u, float *r_corner_v); +/* Inverse of above. */ +BLI_INLINE void BKE_subdiv_rotate_corner_to_quad( + const int corner, + const float corner_u, const float corner_v, + float *r_quad_u, float *r_quad_v); + #include "intern/subdiv_inline.h" #endif /* __BKE_SUBDIV_H__ */ |