Added setUniform method to KRMat4, KRVector2, and KRVector3
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40130
This commit is contained in:
@@ -293,5 +293,5 @@ bool KRVector3::operator <(const KRVector3& b) const
|
||||
|
||||
void KRVector3::setUniform(GLint location) const
|
||||
{
|
||||
GLDEBUG(glUniform3f(location, x, y, z));
|
||||
if(location != -1) GLDEBUG(glUniform3f(location, x, y, z));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user