Permalink
Browse files

remove unused parts

  • Loading branch information...
1 parent 6084512 commit 484e2632c8b8932c6dc285ae4cd38d38c49475dc @famanson committed Feb 24, 2012
Showing with 1 addition and 17 deletions.
  1. BIN CSGmug
  2. +0 −16 CSGmug.cxx
  3. +1 −1 CSGmug.cxx~
  4. BIN CSGmug.o
View
BIN CSGmug
Binary file not shown.
View
@@ -28,22 +28,6 @@ static void my_reporter(sv_real progress)
sv_set buildmymodel(sv_point lowCorner, sv_point highCorner)
{
-
- //Cuboid is slightly smaller than parameters given in function
- sv_point p = lowCorner + highCorner*0.2;
- sv_point q = highCorner - highCorner*0.2;
-
- sv_set a_cuboid = cuboid(p,q);
- a_cuboid = a_cuboid.colour(SV_GREEN);
-
- sv_surface tex = sv_surface();
-
- sv_set a_sphere = sphere(sv_point(5,5,5),4) ;
- a_sphere = a_sphere.colour(SV_RED);
-
- sv_set a_line = sv_set(sv_line(sv_point(1,0,0),sv_point(6,6,5)));
- a_line = a_line.colour(SV_BLUE);
-
sv_set plane_top = sv_set(sv_plane(sv_point(7,0,0), sv_point(7,5,5), sv_point(7,3,0)));
plane_top = plane_top.colour(SV_WHEAT);
View
@@ -80,7 +80,7 @@ sv_set buildmymodel(sv_point lowCorner, sv_point highCorner)
sv_set torus_ring = torus (sv_line(sv_point(1,0,0),sv_point(5.2,6,5)), 1.9,0.2);
torus_ring = torus_ring.colour(SV_YELLOW);
- //Teh result:
+ // Teh result:
sv_set result;
result = ((cylinder1 & cuboid1)- cylinder2) | torus_top | (cuboid_bottom & sphere_bottom) | (torus_handle & plane_handle) | torus_ring;
View
BIN CSGmug.o
Binary file not shown.

0 comments on commit 484e263

Please sign in to comment.