removed comments

This commit is contained in:
Anthony J. Thibault 2018-01-03 13:21:47 -08:00
parent bcd813ac62
commit aacf2d489f
3 changed files with 1 additions and 4 deletions

View file

@ -112,7 +112,6 @@ void CauterizedModel::updateClusterMatrices() {
auto jointMatrix = _rig.getJointTransform(cluster.jointIndex);
#if defined(SKIN_DQ)
// AJT: TODO: optimize
glm::mat4 m;
glm_mat4u_mul(jointMatrix, cluster.inverseBindMatrix, m);
state.clusterTransforms[j] = Model::TransformDualQuaternion(m);
@ -145,7 +144,6 @@ void CauterizedModel::updateClusterMatrices() {
}
#if defined(SKIN_DQ)
// AJT: TODO: optimize
glm::mat4 m;
glm_mat4u_mul(jointMatrix, cluster.inverseBindMatrix, m);
state.clusterTransforms[j] = Model::TransformDualQuaternion(m);

View file

@ -1178,6 +1178,7 @@ void Model::updateClusterMatrices() {
if (!_needsUpdateClusterMatrices || !isLoaded()) {
return;
}
_needsUpdateClusterMatrices = false;
const FBXGeometry& geometry = getFBXGeometry();
for (int i = 0; i < (int) _meshStates.size(); i++) {
@ -1187,7 +1188,6 @@ void Model::updateClusterMatrices() {
const FBXCluster& cluster = mesh.clusters.at(j);
auto jointMatrix = _rig.getJointTransform(cluster.jointIndex);
#if defined(SKIN_DQ)
// AJT: TODO: optimize
glm::mat4 mat;
glm_mat4u_mul(jointMatrix, cluster.inverseBindMatrix, mat);
state.clusterTransforms[j] = TransformDualQuaternion(mat);

View file

@ -60,7 +60,6 @@ void SoftAttachmentModel::updateClusterMatrices() {
jointMatrix = _rig.getJointTransform(cluster.jointIndex);
}
// AJT: TODO: OPTIMIZE
glm::mat4 m;
glm_mat4u_mul(jointMatrix, cluster.inverseBindMatrix, m);
state.clusterTransforms[j] = Model::TransformDualQuaternion(m);