CafuModelT::MeshT::VertexT Struct Reference

A single vertex. More...

`#include "Model_cmdl.hpp"`

## Public Attributes | |

float | u |

Texture coordinate u. More... | |

float | v |

Texture coordinate v. More... | |

unsigned int | FirstWeightIdx |

The index of the first weight in the Weights array. More... | |

unsigned int | NumWeights |

The number of weights that form this vertex. More... | |

bool | Polarity |

True if this vertex belongs to triangles with positive polarity, false if it belongs to triangles with negative polarity. Note that a single vertex cannot belong to triangles of both positive and negative polarity (but a GeoDup of this vertex can belong to the other polarity). More... | |

ArrayT< unsigned int > | GeoDups |

This array contains the indices of vertices that are geometrical duplicates of this vertex, see AreVerticesGeoDups() for more information. The indices are stored in increasing order, and do not include the index of "this" vertex. Note that from the presence of GeoDups in a cmdl/md5 file we can not conclude that a break in the smoothing was intended by the modeller. Cylindrically wrapping seams are one counter-example. More... | |

A single vertex.

unsigned int CafuModelT::MeshT::VertexT::FirstWeightIdx |

The index of the first weight in the Weights array.

ArrayT<unsigned int> CafuModelT::MeshT::VertexT::GeoDups |

This array contains the indices of vertices that are geometrical duplicates of this vertex, see AreVerticesGeoDups() for more information. The indices are stored in increasing order, and do *not* include the index of "this" vertex. Note that from the presence of GeoDups in a cmdl/md5 file we can *not* conclude that a break in the smoothing was intended by the modeller. Cylindrically wrapping seams are one counter-example.

unsigned int CafuModelT::MeshT::VertexT::NumWeights |

The number of weights that form this vertex.

bool CafuModelT::MeshT::VertexT::Polarity |

True if this vertex belongs to triangles with positive polarity, false if it belongs to triangles with negative polarity. Note that a single vertex cannot belong to triangles of both positive and negative polarity (but a GeoDup of this vertex can belong to the other polarity).

float CafuModelT::MeshT::VertexT::u |

Texture coordinate u.

float CafuModelT::MeshT::VertexT::v |

Texture coordinate v.

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

- Libs/Models/Model_cmdl.hpp