StoredVertexInfo Struct Reference

StoredVertexInfo Struct Reference

#include <mesh.h>

Class Description

StoredVertexInfo is used to store vertex change information.

It is moved here to the base class so we can inline some methods for performance rather than have them go through virtual function calls.

Definition at line 311 of file mesh.h.

Public Attributes

Vector m_vPosition
 The position of the vertex before the change. More...
 
unsigned int m_iID
 This variable is used internally. More...
 
union {
   tnormalv   m_iNormal
 
   tnormal   m_vNormal [4]
 
}; 
 Surface normal of the vertex. More...
 
float m_fData
 This variable can be used freely to store a float value for the vertex. More...
 
unsigned int m_iVertexIndex
 Index of the vertex. More...
 
unsigned int m_iFaceIndex
 Index of a face which uses the vertex. More...
 
unsigned int m_iLayerVertexIndex
 Index of the vertex within the current sculpt layer. More...
 

Member Data Documentation

Vector m_vPosition

The position of the vertex before the change.

Definition at line 314 of file mesh.h.

unsigned int m_iID

This variable is used internally.

Definition at line 316 of file mesh.h.

tnormalv m_iNormal

Definition at line 320 of file mesh.h.

tnormal m_vNormal[4]

Definition at line 321 of file mesh.h.

union { ... }

Surface normal of the vertex.

float m_fData

This variable can be used freely to store a float value for the vertex.

Definition at line 324 of file mesh.h.

unsigned int m_iVertexIndex

Index of the vertex.

Definition at line 326 of file mesh.h.

unsigned int m_iFaceIndex

Index of a face which uses the vertex.

Definition at line 328 of file mesh.h.

unsigned int m_iLayerVertexIndex

Index of the vertex within the current sculpt layer.

Definition at line 330 of file mesh.h.


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