Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-01-17 13:17:15 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-01-18 14:29:53 +0300
commit076019c5f2b9d7f115187b55970a22439eec1397 (patch)
treeddeec940c5cf52c74548b88df329d4d8568e7fac /source/blender/blenkernel/BKE_subdiv.h
parent3fb6946b76699e462a927d44d8372e4f0b30cf21 (diff)
Multires: Correct function name, to match behavior
Diffstat (limited to 'source/blender/blenkernel/BKE_subdiv.h')
-rw-r--r--source/blender/blenkernel/BKE_subdiv.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv.h b/source/blender/blenkernel/BKE_subdiv.h
index 0d262b53743..28efb159b09 100644
--- a/source/blender/blenkernel/BKE_subdiv.h
+++ b/source/blender/blenkernel/BKE_subdiv.h
@@ -259,10 +259,11 @@ 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(
+/* Converts (u, v) coordinate from within a grid to a quad coordinate in
+ * normalized ptex coordinates. */
+BLI_INLINE void BKE_subdiv_rotate_grid_to_quad(
const int corner,
- const float corner_u, const float corner_v,
+ const float grid_u, const float grid_v,
float *r_quad_u, float *r_quad_v);
#include "intern/subdiv_inline.h"