Ignore:
Timestamp:
12/17/07 18:39:12 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Mesh.h

    r2176 r2569  
    242242 
    243243 
    244 class MeshInstance : public Intersectable { 
     244class MeshInstance: public Intersectable { 
    245245 
    246246public: 
     
    277277        virtual int Type() const { return MESH_INSTANCE; } 
    278278 
    279         virtual int 
    280                 CastRay( 
    281                 Ray &ray, 
    282                 const std::vector<int> &faces 
    283                 ); 
    284  
    285  
    286         virtual std::ostream &Describe(std::ostream &s) { 
     279        virtual int CastRay(Ray &ray, const std::vector<int> &faces); 
     280 
     281        virtual std::ostream &Describe(std::ostream &s)  
     282        { 
    287283                s<<"MeshInstance Id="<<GetId(); 
    288284                return mMesh->Describe(s); 
     
    290286 
    291287        /** Sets the material. this overrides the material from  
    292         the mesh itself. 
     288                the mesh itself. 
    293289        */ 
    294290        void SetMaterial(Material *mat); 
    295291 
    296292        /** Returns the material of this mesh instance. 
    297         if not defined, returns the material of the mesh itself. 
     293                if not defined, returns the material of the mesh itself. 
    298294        */ 
    299295        Material *GetMaterial() const; 
Note: See TracChangeset for help on using the changeset viewer.