Ignore:
Timestamp:
Apr 21, 2012, 6:58:33 PM (9 years ago)
Author:
sam
Message:

gpu: add methods to send mat2 and mat3 matrices to the shader.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gpu/shader.h

    r1241 r1259  
    6767    void SetUniform(ShaderUniform const &uni, vec3 const &v);
    6868    void SetUniform(ShaderUniform const &uni, vec4 const &v);
     69    void SetUniform(ShaderUniform const &uni, mat2 const &m);
     70    void SetUniform(ShaderUniform const &uni, mat3 const &m);
    6971    void SetUniform(ShaderUniform const &uni, mat4 const &m);
    7072
Note: See TracChangeset for help on using the changeset viewer.