Changeset 831 for GTP/trunk/Lib/Geom/shared/GTGeometry/src/libs/leaves
- Timestamp:
- 04/26/06 18:17:10 (19 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared/GTGeometry/src/libs/leaves
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/libs/leaves/Arbol.cpp
r830 r831 1 #include <GL\glut.h>2 1 #include <stdio.h> 3 2 #include <string.h> 4 3 #include <math.h> 5 4 #include "Arbol.h" 6 #include "../defs.h" 7 8 //-------------------------------------------------------------------------------------------------------------------------------- 9 // Void constructor 10 // Parameters --> None 11 //-------------------------------------------------------------------------------------------------------------------------------- 12 /*Arbol::Arbol(void): Vertices(NULL), Hojas(NULL) 13 { 14 cx = cy= cz=0; 15 }*/ 5 16 6 //-------------------------------------------------------------------------------------------------------------------------------- 17 7 // Constructor with the name of a file cotaining the data … … 51 41 52 42 //VERTICES 53 if ((TotVerts=LeeVertices(arbol))==0) 54 if ((nHojas = LeoHojas (hojas))==0) ThrowFileNotFoundError((const char*)hojas);43 if ((TotVerts=LeeVertices(arbol))==0){ printf("File not found '%s'\n",arbol); exit(1); }//ThrowFileNotFoundError((const char*)arbol); 44 if ((nHojas = LeoHojas (hojas))==0) { printf("File not found '%s'\n",hojas); exit(1); }//ThrowFileNotFoundError((const char*)hojas); 55 45 // TotTronco = LeoTronco (tronco); 56 46 // CalculaNormalesVertice(); 57 if ((TotHojas = LeoHojasSimpl(simpli))==0) ThrowFileNotFoundError((const char*)simpli);47 if ((TotHojas = LeoHojasSimpl(simpli))==0){ printf("File not found '%s'\n",simpli); exit(1); }// ThrowFileNotFoundError((const char*)simpli); 58 48 RellenoRaiz(); 59 49
Note: See TracChangeset
for help on using the changeset viewer.