Subversion Repositories gelsvn

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
605 4589 d 8 h jab /trunk/  
601 4591 d 23 h jab /trunk/ The include statements for header files have been changed. Instead of including, like say

#include <CGLA/Vec3f.h>

we now use

#include "../CGLA/Vec3f.h"

for all files in the GEL library source tree (i.e. apps and test are not altered).

The point is that if GEL is used as an OSX framework and I include a GEL header, I have to do it like this:

#include <GEL/HMesh/myheader.h>

Now, inside myheader.h I may include CGLA/Vec3f.h, but how should this file be found? If I just add the GEL
framework as a framework, the path to the GEL headers is not added to the header search path because the
framework name (in this case GEL) is part of the header path. If all headers had been in one directory that
would not have mattered, since Vec3f.h would be in the same directory as myheader.h. But it is not. So, I
have made things more relative and it works well.
 
595 4595 d 12 h jab /trunk/src/ Merged version  
510 5464 d 0 h jrf /trunk/src/ Enabling load of wavefront .mtl files without an associated object, and correcting the Material class slightly (ior instead of ior_in and ior_out).  
436 5905 d 11 h jrf /trunk/src/Geometry/ closing files after use  
421 5932 d 23 h jrf /trunk/src/Geometry/ Updated Wavefront .mtl loading  
364 6213 d 1 h jrf /trunk/src/Geometry/ Corrections to have the ray tracer run properly in Visual Studio  
178 7107 d 6 h bj /trunk/ merged restructuring branch  
79 7178 d 6 h jab /trunk/src/Geometry/ some minor adjustments