This commit is contained in:
Nick Fisher
2023-07-18 11:31:24 +08:00
parent 6a9a1a0795
commit 1a09aa97c5

View File

@@ -51,17 +51,10 @@ class BoneDriver {
return rotation;
}).toList();
if (frameNum == 0) {
print(rotations);
}
var result = rotations.fold(
rotations.first, (Quaternion a, Quaternion b) => a + b);
result.w = 1;
print("RESULT $result");
yield result;
// .normalized();
// todo - bone translations
}
}