Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/intern/bmesh_query_uv.h
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||||
| #pragma once | #pragma once | ||||
| /** \file | /** \file | ||||
| * \ingroup bmesh | * \ingroup bmesh | ||||
| */ | */ | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /** | |||||
| * Retrieve the custom data offsets for layers used for user interaction with the active UV map. | |||||
| */ | |||||
| BMUVOffsets BM_uv_map_get_offsets(const BMesh *bm); | |||||
| float BM_loop_uv_calc_edge_length_squared(const BMLoop *l, | float BM_loop_uv_calc_edge_length_squared(const BMLoop *l, | ||||
| int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT | int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT | ||||
| ATTR_NONNULL(); | ATTR_NONNULL(); | ||||
| float BM_loop_uv_calc_edge_length(const BMLoop *l, int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT | float BM_loop_uv_calc_edge_length(const BMLoop *l, int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT | ||||
| ATTR_NONNULL(); | ATTR_NONNULL(); | ||||
| /** | /** | ||||
| * Computes the UV center of a face, using the mean average weighted by edge length. | * Computes the UV center of a face, using the mean average weighted by edge length. | ||||
| ▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines | |||||