From 6a1c4f84af61a4208c2137afc31f2b3726e1e741 Mon Sep 17 00:00:00 2001 From: Adam Nemecek Date: Thu, 2 Jul 2020 10:31:30 -0700 Subject: [PATCH] cargo fmt --- src/base/cg.rs | 7 ++++--- tests/core/cg.rs | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/base/cg.rs b/src/base/cg.rs index 02aeade8..6a324bd2 100644 --- a/src/base/cg.rs +++ b/src/base/cg.rs @@ -11,11 +11,12 @@ use crate::base::allocator::Allocator; use crate::base::dimension::{DimName, DimNameDiff, DimNameSub, U1}; use crate::base::storage::{Storage, StorageMut}; use crate::base::{ - DefaultAllocator, Matrix3, Matrix4, MatrixN, Scalar, SquareMatrix, Unit, Vector, Vector2, Vector3, - VectorN, + DefaultAllocator, Matrix3, Matrix4, MatrixN, Scalar, SquareMatrix, Unit, Vector, Vector2, + Vector3, VectorN, }; use crate::geometry::{ - Isometry, IsometryMatrix3, Orthographic3, Perspective3, Point, Point2, Point3, Rotation2, Rotation3, Translation2, Translation3, + Isometry, IsometryMatrix3, Orthographic3, Perspective3, Point, Point2, Point3, Rotation2, + Rotation3, Translation2, Translation3, }; use simba::scalar::{ClosedAdd, ClosedMul, RealField}; diff --git a/tests/core/cg.rs b/tests/core/cg.rs index 17df4eb1..f1969658 100644 --- a/tests/core/cg.rs +++ b/tests/core/cg.rs @@ -1,4 +1,4 @@ -use na::{Vector2, Vector3, Matrix3, Matrix4, Point2, Point3}; +use na::{Matrix3, Matrix4, Point2, Point3, Vector2, Vector3}; /// See Example 3.4 of "Graphics and Visualization: Principles & Algorithms" /// by Theoharis, Papaioannou, Platis, Patrikalakis. @@ -56,4 +56,4 @@ fn test_scaling_wrt_point_3() { let result = scale_about.transform_point(&pt); assert!(result == expected); -} \ No newline at end of file +}