mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 06:51:15 +02:00
removed comments
This commit is contained in:
parent
bcd813ac62
commit
aacf2d489f
3 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue