Updated call sites to ensure that KRPipeline::setUniform calls are made before KRPipeline::bind calls.

Eliminated kraken::SetUniform helper functions, which are no longer used.
This commit is contained in:
2022-07-07 21:37:10 -07:00
parent 560f7da9e7
commit 7d36a0036c
8 changed files with 16 additions and 45 deletions

View File

@@ -61,11 +61,6 @@ float const PI = 3.141592653589793f;
float const D2R = PI * 2 / 360;
namespace kraken {
void SetUniform(GLint location, const Vector2 &v);
void SetUniform(GLint location, const Vector3 &v);
void SetUniform(GLint location, const Vector4 &v);
void SetUniform(GLint location, const Matrix4 &v);
void setXMLAttribute(const std::string &base_name, ::tinyxml2::XMLElement *e, const Vector3 &value, const Vector3 &default_value);
const Vector3 getXMLAttribute(const std::string &base_name, ::tinyxml2::XMLElement *e, const Vector3 &default_value);
} // namespace kraken