representation de l'indexation complete d'un sommet
More...
representation de l'indexation complete d'un sommet
Definition at line 175 of file wavefront.cpp.
◆ vertex() [1/4]
Definition at line 182 of file wavefront.cpp.
182: material(-1), position(-1), texcoord(-1), normal(-1) {}
◆ vertex() [2/4]
| vertex::vertex |
( |
const int | m, |
|
|
const int | p, |
|
|
const int | t, |
|
|
const int | n ) |
|
inline |
Definition at line 183 of file wavefront.cpp.
183: material(m), position(p), texcoord(t), normal(n) {}
◆ vertex() [3/4]
Definition at line 314 of file wavefront_fast.cpp.
314: material(-1), position(-1), texcoord(-1), normal(-1) {}
◆ vertex() [4/4]
| vertex::vertex |
( |
const int | m, |
|
|
const int | p, |
|
|
const int | t, |
|
|
const int | n ) |
|
inline |
Definition at line 315 of file wavefront_fast.cpp.
315: material(m), position(p), texcoord(t), normal(n) {}
◆ operator<() [1/2]
| bool vertex::operator< |
( |
const vertex & | b | ) |
const |
|
inline |
Definition at line 186 of file wavefront.cpp.
187 {
188 if(material != b.material) return material < b.material;
189 if(position != b.position) return position < b.position;
190 if(texcoord != b.texcoord) return texcoord < b.texcoord;
191 if(normal != b.normal) return normal < b.normal;
192 return false;
193 }
◆ operator<() [2/2]
| bool vertex::operator< |
( |
const vertex & | b | ) |
const |
|
inline |
Definition at line 318 of file wavefront_fast.cpp.
319 {
320 if(material != b.material) return material < b.material;
321 if(position != b.position) return position < b.position;
322 if(texcoord != b.texcoord) return texcoord < b.texcoord;
323 if(normal != b.normal) return normal < b.normal;
324 return false;
325 }
◆ material
◆ position
◆ texcoord
◆ normal
The documentation for this struct was generated from the following files: