cleanup
This commit is contained in:
@@ -51,17 +51,10 @@ class BoneDriver {
|
|||||||
return rotation;
|
return rotation;
|
||||||
}).toList();
|
}).toList();
|
||||||
|
|
||||||
if (frameNum == 0) {
|
|
||||||
print(rotations);
|
|
||||||
}
|
|
||||||
|
|
||||||
var result = rotations.fold(
|
var result = rotations.fold(
|
||||||
rotations.first, (Quaternion a, Quaternion b) => a + b);
|
rotations.first, (Quaternion a, Quaternion b) => a + b);
|
||||||
result.w = 1;
|
result.w = 1;
|
||||||
print("RESULT $result");
|
|
||||||
yield result;
|
yield result;
|
||||||
// .normalized();
|
|
||||||
// todo - bone translations
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user