diff --git a/packages/flame_3d/lib/src/graphics/joints_info.dart b/packages/flame_3d/lib/src/graphics/joints_info.dart index 5952d183f1..c21204b211 100644 --- a/packages/flame_3d/lib/src/graphics/joints_info.dart +++ b/packages/flame_3d/lib/src/graphics/joints_info.dart @@ -10,4 +10,4 @@ class JointsInfo { void setSurface(int surfaceIdx) { jointTransforms = jointTransformsPerSurface[surfaceIdx] ?? []; } -} \ No newline at end of file +} diff --git a/packages/flame_3d/lib/src/resources/material/spatial_material.dart b/packages/flame_3d/lib/src/resources/material/spatial_material.dart index dddb14c11b..4b9ed6ef28 100644 --- a/packages/flame_3d/lib/src/resources/material/spatial_material.dart +++ b/packages/flame_3d/lib/src/resources/material/spatial_material.dart @@ -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) {