Ignore:
Timestamp:
Feb 5, 2013, 5:07:09 PM (7 years ago)
Author:
touky
Message:

render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.

File:
1 edited

Legend:

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

    r2356 r2370  
    155155    struct
    156156    {
    157         Shader *shader;
    158         ShaderAttrib coord, norm, color;
    159         ShaderUniform modelview, view, invview, proj, normalmat, damage, lights;
     157        /* FIXME: very naughty way of handling debug render modes */
     158        Array<Shader *>shader;
     159        Array<ShaderAttrib> coord, norm, color;
     160        Array<ShaderUniform> modelview, view, invview, proj, normalmat, damage, lights;
     161
    160162        VertexDeclaration *vdecl;
    161163        VertexBuffer *vbo;
Note: See TracChangeset for help on using the changeset viewer.