Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
luanpotter committed Sep 13, 2024
1 parent 415df1a commit 3549895
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/flame_3d/lib/src/graphics/joints_info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ class JointsInfo {
void setSurface(int surfaceIdx) {
jointTransforms = jointTransformsPerSurface[surfaceIdx] ?? [];
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ class SpatialMaterial extends Material {
final jointTransforms = device.jointsInfo.jointTransforms;
if (jointTransforms.length > _maxJoints) {
throw Exception(
'At most $_maxJoints joints per surface, found ${jointTransforms.length}',
'At most $_maxJoints joints per surface are supported;'
' found ${jointTransforms.length}',
);
}
for (final (idx, transform) in jointTransforms.indexed) {
Expand Down

0 comments on commit 3549895

Please sign in to comment.