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

#include <BKE_mesh.h>

Public Attributes

float vec_lnor [3]
 
float vec_ref [3]
 
float vec_ortho [3]
 
float ref_alpha
 
float ref_beta
 
struct LinkNodeloops
 
char flags
 
voiduser_data
 

Detailed Description

References a contiguous loop-fan with normal offset vars.

Definition at line 528 of file BKE_mesh.h.

Member Data Documentation

◆ flags

char MLoopNorSpace::flags

◆ loops

struct LinkNode* MLoopNorSpace::loops

All loops using this lnor space (i.e. smooth fan of loops), as (depending on owning MLoopNorSpaceArrary.data_type):

  • Indices (uint_in_ptr), or
  • BMLoop pointers.

Definition at line 543 of file BKE_mesh.h.

Referenced by apply_weights_vertex_normal(), BKE_lnor_space_add_loop(), bm_loop_normal_mark_indiv_do_loop(), bm_mesh_loops_assign_normal_data(), bm_mesh_loops_split_lnor_fans(), edbm_set_normals_from_faces_exec(), mesh_normals_loop_custom_set(), and normals_merge().

◆ ref_alpha

float MLoopNorSpace::ref_alpha

Reference angle, around vec_ortho, in ]0, pi] range (0.0 marks that space as invalid).

Definition at line 536 of file BKE_mesh.h.

Referenced by BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), and BM_lnorspace_err().

◆ ref_beta

float MLoopNorSpace::ref_beta

Reference angle, around vec_lnor, in ]0, 2pi] range (0.0 marks that space as invalid).

Definition at line 538 of file BKE_mesh.h.

Referenced by BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), and BM_lnorspace_err().

◆ user_data

void* MLoopNorSpace::user_data

To be used for extended processing related to loop normal spaces (aka smooth fans).

Definition at line 547 of file BKE_mesh.h.

Referenced by apply_weights_vertex_normal().

◆ vec_lnor

float MLoopNorSpace::vec_lnor[3]

Automatically computed loop normal.

Definition at line 530 of file BKE_mesh.h.

Referenced by BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), and BM_lnorspace_err().

◆ vec_ortho

float MLoopNorSpace::vec_ortho[3]

Third vector, orthogonal to vec_lnor and vec_ref.

Definition at line 534 of file BKE_mesh.h.

Referenced by BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), and BM_lnorspace_err().

◆ vec_ref

float MLoopNorSpace::vec_ref[3]

Reference vector, orthogonal to vec_lnor.

Definition at line 532 of file BKE_mesh.h.

Referenced by BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), and BM_lnorspace_err().


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