Ignore:
Timestamp:
May 1, 2012, 11:19:55 PM (9 years ago)
Author:
sam
Message:

orbital: get rid of the normal matrix; we can compute it on the fly later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/particlesystem.h

    r1326 r1330  
    7070                       * mat4::translate(m_particles[i].m1);
    7171            mat4 modelview = view * model * anim;
    72             mat3 normalmat = transpose(inverse(mat3(modelview)));
    7372
    74             m_mesh.Render(modelview, proj, normalmat);
     73            m_mesh.Render(modelview, proj);
    7574        }
    7675    }
Note: See TracChangeset for help on using the changeset viewer.