Update formatting
This commit is contained in:
parent
64ae5fbd9a
commit
7c11ec250a
7 changed files with 170 additions and 173 deletions
|
@ -125,9 +125,6 @@ ApproxEq<S> for Plane<S> {
|
||||||
impl<S: Clone + fmt::Float> fmt::Show for Plane<S> {
|
impl<S: Clone + fmt::Float> fmt::Show for Plane<S> {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
write!(f.buf, "{:f}x + {:f}y + {:f}z - {:f} = 0",
|
write!(f.buf, "{:f}x + {:f}y + {:f}z - {:f} = 0",
|
||||||
self.n.x,
|
self.n.x, self.n.y, self.n.z, self.d)
|
||||||
self.n.y,
|
|
||||||
self.n.z,
|
|
||||||
self.d)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue