Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/DRW_select_buffer.h
| Show All 14 Lines | |||||
| * | * | ||||
| * Copyright 2016, Blender Foundation. | * Copyright 2016, Blender Foundation. | ||||
| */ | */ | ||||
| /** \file | /** \file | ||||
| * \ingroup draw | * \ingroup draw | ||||
| */ | */ | ||||
| #ifndef __DRW_SELECT_BUFFER_H__ | #pragma once | ||||
| #define __DRW_SELECT_BUFFER_H__ | |||||
| #include "BLI_sys_types.h" /* for bool and uint */ | #include "BLI_sys_types.h" /* for bool and uint */ | ||||
| struct ARegion; | struct ARegion; | ||||
| struct Base; | struct Base; | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| struct Object; | struct Object; | ||||
| struct View3D; | struct View3D; | ||||
| ▲ Show 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | uint DRW_select_buffer_find_nearest_to_point(struct Depsgraph *depsgraph, | ||||
| struct View3D *v3d, | struct View3D *v3d, | ||||
| const int center[2], | const int center[2], | ||||
| const uint id_min, | const uint id_min, | ||||
| const uint id_max, | const uint id_max, | ||||
| uint *dist); | uint *dist); | ||||
| void DRW_select_buffer_context_create(struct Base **bases, | void DRW_select_buffer_context_create(struct Base **bases, | ||||
| const uint bases_len, | const uint bases_len, | ||||
| short select_mode); | short select_mode); | ||||
| #endif /* __DRW_SELECT_BUFFER_H__ */ | |||||