Browse Source

Add debug output

master
Skia 3 years ago
parent
commit
2443f8a001
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mesh.cpp

+ 1
- 0
mesh.cpp View File

@@ -60,6 +60,7 @@ void Mesh::render(bool anim) {
for (int k = 0; k < v->getBoneNumber(); k++) {
t[k] = boneStateList[this->getBoneIndex(v->getBonesID(k))].Transpose();
}
std::cout << t[0] << "\n";
glVertexAttribPointer(shader_Weights, 3, GL_FLOAT, GL_FALSE, 0, &t);
if (this->getNormal(index) != NULL) {
glVertexAttribPointer(shader_Normal, 3, GL_FLOAT, GL_FALSE, 0, &this->getNormal(index)->x);

Loading…
Cancel
Save