void ShaderProgram::setAttribute(GLint index, const Vector4d &v) { glVertexAttrib4dv(index, &(v.x)); }
void shader_gl3::attribute(const char* name, const double4* arg1) const { A2E_CHECK_ATTRIBUTE_EXISTENCE(name); A2E_CHECK_ATTRIBUTE_TYPE(name, GL_FLOAT_VEC4); glVertexAttrib4dv(A2E_SHADER_GET_ATTRIBUTE_POSITION(name), (GLdouble*)arg1); }