28 if (
format.attr_len == 0) {
58 float *loop_orco = orco_data->
vbo_data[l_index];
61 }
while ((l_iter = l_iter->
next) != l_first);
66 const int UNUSED(mp_index),
71 for (
int ml_index = mp->
loopstart; ml_index < ml_index_end; ml_index += 1) {
72 const MLoop *ml = &mloop[ml_index];
74 float *loop_orco = orco_data->
vbo_data[ml_index];
typedef float(TangentPoint)[2]
void * CustomData_get_layer(const struct CustomData *data, int type)
MINLINE void copy_v3_v3(float r[3], const float a[3])
struct GPUVertBuf GPUVertBuf
void GPU_vertbuf_data_alloc(GPUVertBuf *, uint v_len)
#define GPU_vertbuf_init_with_format(verts, format)
void * GPU_vertbuf_get_data(const GPUVertBuf *verts)
#define BM_FACE_FIRST_LOOP(p)
#define BM_elem_index_get(ele)
static void extract_orco_init(const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
constexpr MeshExtract create_extractor_orco()
static void extract_orco_iter_poly_mesh(const MeshRenderData *mr, const MPoly *mp, const int UNUSED(mp_index), void *data)
static void extract_orco_iter_poly_bm(const MeshRenderData *UNUSED(mr), const BMFace *f, const int UNUSED(f_index), void *data)