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:
authorCampbell Barton <ideasman42@gmail.com>2017-07-19 13:12:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-07-19 13:12:24 +0300
commitabe0527e0fa77f15de4ebc7a7752a4c1375de1f1 (patch)
treefaf9cec7e670d6d067e6f81bc0aebfcd174ca4a2 /source/blender/gpu/GPU_select.h
parentdd64cedd0b6b2bda4819e7093029f2a216f3082d (diff)
Manipulators: use nearest manipulator
Add utility function to get the nearest hit
Diffstat (limited to 'source/blender/gpu/GPU_select.h')
-rw-r--r--source/blender/gpu/GPU_select.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_select.h b/source/blender/gpu/GPU_select.h
index cf5b8bf7d8f..0617d58f3b6 100644
--- a/source/blender/gpu/GPU_select.h
+++ b/source/blender/gpu/GPU_select.h
@@ -56,4 +56,7 @@ void GPU_select_cache_begin(void);
void GPU_select_cache_load_id(void);
void GPU_select_cache_end(void);
+/* utilities */
+const uint *GPU_select_buffer_near(const uint *buffer, int hits);
+
#endif