Ignore:
Timestamp:
08/07/05 16:51:06 (19 years ago)
Author:
mattausch
Message:

stable

Location:
trunk/VUT/GtpVisibilityPreprocessor
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/scripts/Preprocessor.vcproj

    r190 r202  
    6262                        <Tool 
    6363                                Name="VCCLCompilerTool" 
    64                                 AdditionalIncludeDirectories="..\support;..\support\zlib\include;&quot;$(QTDIR)\include&quot;;&quot;$(QTDIR)\include\Qt&quot;;..\include" 
     64                                AdditionalIncludeDirectories="..\support;..\support\devil\include;..\support\zlib\include;&quot;$(QTDIR)\include&quot;;&quot;$(QTDIR)\include\Qt&quot;;..\include" 
    6565                                PreprocessorDefinitions="WIN32;NDEBUG;_LIB" 
    6666                                RuntimeLibrary="2" 
     67                                RuntimeTypeInfo="TRUE" 
    6768                                UsePrecompiledHeader="0" 
    6869                                WarningLevel="3" 
     
    7374                        <Tool 
    7475                                Name="VCLinkerTool" 
    75                                 AdditionalDependencies="xerces-c_2.lib zdll.lib zziplib.lib" 
    76                                 AdditionalLibraryDirectories="..\support\xercesc\lib\;..\support\zlib\lib\;&quot;$(QTDIR)\lib&quot;"/> 
     76                                AdditionalDependencies="xerces-c_2.lib zdll.lib zziplib.lib devil.lib" 
     77                                AdditionalLibraryDirectories="..\support\xercesc\lib\;..\support\zlib\lib\;..\support\devil\lib;&quot;$(QTDIR)\lib&quot;"/> 
    7778                        <Tool 
    7879                                Name="VCMIDLTool"/> 
     
    234235                        </File> 
    235236                        <File 
     237                                RelativePath="..\src\ViewCell.h"> 
     238                        </File> 
     239                        <File 
    236240                                RelativePath="..\src\ViewCellBsp.cpp"> 
    237241                        </File> 
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBSP.h

    r197 r202  
    3838  {    
    3939  public: 
    40           BSPInterior(Plane3 *plane): mPlane(plane) {} 
     40          BSPInterior(Plane3 plane): mPlane(plane) {} 
    4141          /** @return false since it is an interior node */ 
    4242          bool IsLeaf() const; 
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp

    r197 r202  
    55#include "ViewCell.h" 
    66#include <stack> 
     7 
    78//namespace GtpVisibilityPreprocessor { 
    89/****************************************************************/ 
     
    8485                BSPNode *node = SubdivideNode(dynamic_cast<BSPLeaf *>(data.mNode), 
    8586                                                                          data.mParent, 
    86                                                                       data.mParent, 
    87                                                                           data.mDepth, 
     87                                                                          &data.mViewCell, 
     88                                                                      data.mDepth, 
    8889                                                                          backPolys, 
    8990                                                                          frontPolys); 
     
    118119        // add the new nodes to the tree + select subdivision plane 
    119120        Plane3 *plane = SelectPlane(viewCell); 
    120         BSPInterior *node = new BSPInterior(&plane); // ERROR!! 
     121        BSPInterior *node = new BSPInterior(*plane); // ERROR!! 
    121122   
    122123 
Note: See TracChangeset for help on using the changeset viewer.