Ignore:
Timestamp:
04/26/06 18:17:10 (18 years ago)
Author:
gumbau
Message:
 
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> 
    21#include <stdio.h> 
    32#include <string.h> 
    43#include <math.h> 
    54#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 
    166//-------------------------------------------------------------------------------------------------------------------------------- 
    177// Constructor with the name of a file cotaining the data 
     
    5141             
    5242        //VERTICES 
    53         if ((TotVerts=LeeVertices(arbol))==0) ThrowFileNotFoundError((const char*)arbol); 
    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); 
    5545//      TotTronco = LeoTronco (tronco); 
    5646//      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);    
    5848        RellenoRaiz(); 
    5949 
Note: See TracChangeset for help on using the changeset viewer.