From 35498950ecb9c844c74127ce5b2dc3e69580528a Mon Sep 17 00:00:00 2001 From: Luan Nico Date: Fri, 13 Sep 2024 14:40:29 -0400 Subject: [PATCH] Fix lint --- packages/flame_3d/lib/src/graphics/joints_info.dart | 2 +- .../flame_3d/lib/src/resources/material/spatial_material.dart | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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) {