summaryrefslogtreecommitdiffstats
path: root/src/Data/Triangle.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-04-10 20:36:05 +0200
committerneoraider <devnull@localhost>2008-04-10 20:36:05 +0200
commit84780a8c1d9801e6a2c9f14dd0c17f362ccf7a57 (patch)
treed171330a2812706b8ab205fe33b870de6bc077ed /src/Data/Triangle.h
parent2271ef709f6785b2e156ddca311c7628b7803af0 (diff)
downloadzoomedit-84780a8c1d9801e6a2c9f14dd0c17f362ccf7a57.tar
zoomedit-84780a8c1d9801e6a2c9f14dd0c17f362ccf7a57.zip
zoomedit:
* Mapped XML data structures to classes completely.
Diffstat (limited to 'src/Data/Triangle.h')
-rw-r--r--src/Data/Triangle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Data/Triangle.h b/src/Data/Triangle.h
index 0c17834..f668289 100644
--- a/src/Data/Triangle.h
+++ b/src/Data/Triangle.h
@@ -33,13 +33,15 @@ class Triangle {
xmlpp::Element *vertexNodes[3];
xmlpp::Element *normalNodes[3];
xmlpp::Element *texCoordsNodes[3];
- xmlpp::Attribute *visibleNode;
Vertex vertices[3];
Vector normals[3];
TexCoords texCoords[3];
+
bool visible;
+ Glib::ustring texture;
+
Vertex loadVertex(xmlpp::Element *node) const;
Vector loadVector(xmlpp::Element *node) const;
TexCoords loadTexCoords(xmlpp::Element *node) const;