Definition at line 405 of file mesh_io.cpp.
◆ vertex() [1/2]
Definition at line 412 of file mesh_io.cpp.
412: material(-1), position(-1), texcoord(-1), normal(-1) {}
◆ vertex() [2/2]
| vertex::vertex |
( |
const int |
m, |
|
|
const int |
p, |
|
|
const int |
t, |
|
|
const int |
n |
|
) |
| |
|
inline |
Definition at line 413 of file mesh_io.cpp.
413: material(m), position(p), texcoord(t), normal(n) {}
◆ operator<()
| bool vertex::operator< |
( |
const vertex & |
b | ) |
const |
|
inline |
Definition at line 416 of file mesh_io.cpp.
417 {
418 if(material != b.material) return material < b.material;
419 if(position != b.position) return position < b.position;
420 if(texcoord != b.texcoord) return texcoord < b.texcoord;
421 if(normal != b.normal) return normal < b.normal;
422 return false;
423 }
◆ material
◆ position
◆ texcoord
◆ normal
The documentation for this struct was generated from the following file: