Blender V4.3
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
 

Detailed Description

References a contiguous loop-fan with normal offset vars.

Definition at line 236 of file BKE_mesh.h.

Member Data Documentation

◆ 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 251 of file BKE_mesh.h.

Referenced by 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(), 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 244 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 246 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_lnor

float MLoopNorSpace::vec_lnor[3]

Automatically computed loop normal.

Definition at line 238 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 242 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 240 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: