cargo fmt
This commit is contained in:
parent
4653f772bd
commit
6a1c4f84af
|
@ -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};
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue