Blender  V3.3
Public Attributes | List of all members
KnifeObjectInfo Struct Reference

Public Attributes

const float(* cagecos )[3]
 
const int(* tri_indices )[3]
 
BMEditMeshem
 

Detailed Description

Additional per-object data.

Definition at line 194 of file editmesh_knife.c.

Member Data Documentation

◆ cagecos

const float(* KnifeObjectInfo::cagecos)[3]

◆ em

BMEditMesh* KnifeObjectInfo::em

Only assigned for convenient access.

Definition at line 206 of file editmesh_knife.c.

Referenced by knife_bm_tri_index_get(), and knifetool_init_obinfo().

◆ tri_indices

const int(* KnifeObjectInfo::tri_indices)[3]

Optionally allocate triangle indices, these are needed for non-interactive knife projection as multiple cuts are made without the BVH being updated. Using these indices the it's possible to access cagecos even if the face has been cut and the loops in em->looptris no longer refer to the original triangles, see: T97153.

Definition at line 203 of file editmesh_knife.c.

Referenced by knife_bm_tri_index_get(), knifetool_free_obinfo(), and knifetool_init_obinfo().


The documentation for this struct was generated from the following file: