cargo fmt

This commit is contained in:
Adam Nemecek 2020-07-02 10:31:30 -07:00
parent 4653f772bd
commit 6a1c4f84af
2 changed files with 6 additions and 5 deletions

View File

@ -11,11 +11,12 @@ use crate::base::allocator::Allocator;
use crate::base::dimension::{DimName, DimNameDiff, DimNameSub, U1}; use crate::base::dimension::{DimName, DimNameDiff, DimNameSub, U1};
use crate::base::storage::{Storage, StorageMut}; use crate::base::storage::{Storage, StorageMut};
use crate::base::{ use crate::base::{
DefaultAllocator, Matrix3, Matrix4, MatrixN, Scalar, SquareMatrix, Unit, Vector, Vector2, Vector3, DefaultAllocator, Matrix3, Matrix4, MatrixN, Scalar, SquareMatrix, Unit, Vector, Vector2,
VectorN, Vector3, VectorN,
}; };
use crate::geometry::{ 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}; use simba::scalar::{ClosedAdd, ClosedMul, RealField};

View File

@ -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" /// See Example 3.4 of "Graphics and Visualization: Principles & Algorithms"
/// by Theoharis, Papaioannou, Platis, Patrikalakis. /// by Theoharis, Papaioannou, Platis, Patrikalakis.
@ -56,4 +56,4 @@ fn test_scaling_wrt_point_3() {
let result = scale_about.transform_point(&pt); let result = scale_about.transform_point(&pt);
assert!(result == expected); assert!(result == expected);
} }