Skip to content

Commit a1d99d2

Browse files
author
aza
committed
fixing spacing
1 parent 759e2a7 commit a1d99d2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/stl/face.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def initialize(normal, *vertices)
1818

1919
# @return [Float] The signed volume
2020
def signed_volume
21-
# math voodoo acording to:
22-
# http://stackoverflow.com/questions/1406029/how-to-calculate-the-volume-of-a-3d-mesh-object-the-surface-of-which-is-made-up
21+
# math voodoo acording to:
22+
# http://stackoverflow.com/questions/1406029/how-to-calculate-the-volume-of-a-3d-mesh-object-the-surface-of-which-is-made-up
2323
v321 = @points[2][0] * @points[1][1] * @points[0][2]
2424
v231 = @points[1][0] * @points[2][1] * @points[0][2]
2525
v312 = @points[2][0] * @points[0][1] * @points[1][2]

test/stl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
it 'must have a volume' do
7777
subject.volume.must_equal 12000.0
78-
subject.scale(2).volume.must_equal 96000.0
78+
subject.scale(2).volume.must_equal 96000.0
7979
end
8080
end
8181

0 commit comments

Comments
 (0)