| 390 | } |
| 391 | |
| 392 | bool ShaderProgram::setUniformMatrix( const Int32& Location, const float* Value ) { |
| 393 | if ( -1 != Location ) { |
| 394 | #ifdef EE_SHADERS_SUPPORTED |
| 395 | glUniformMatrix4fv( Location, 1, false, Value ); |
| 396 | #endif |
| 397 | |
| 398 | return true; |
| 399 | } |
| 400 | |
| 401 | return false; |
| 402 | } |
| 403 | |
| 404 | bool ShaderProgram::setUniformMatrix( const std::string Name, const float* Value ) { |
| 405 | return setUniformMatrix( getUniformLocation( Name ), Value ); |
no outgoing calls
no test coverage detected