Ignore:
Timestamp:
Feb 26, 2013, 5:22:00 PM (7 years ago)
Author:
touky
Message:

easymesh : Vertex attribute name can now be customize. Vertex declaration code simplification, ASSERT is more understandable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/easymesh/easymesh.h

    r2506 r2507  
    8383    //--
    8484    virtual void SetupShaderDatas(mat4 const &model) { UNUSED(model); }
     85    //--
     86    virtual lol::String GetInVertexName()   { return lol::String("in_Vertex");   }
     87    virtual lol::String GetInNormalName()   { return lol::String("in_Normal");   }
     88    virtual lol::String GetInColorName()    { return lol::String("in_Color");    }
     89    virtual lol::String GetInTexCoordName() { return lol::String("in_TexCoord"); }
    8590
    8691protected:
Note: See TracChangeset for help on using the changeset viewer.