Advertisement
VictorCacciari

Mesa de Café

Mar 14th, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. GSolid* mesa_teste()
  2. {
  3.     return
  4.         GSolid_merge(
  5.             //Tampo
  6.             GSolid_set_operator(
  7.                 GSolid_cube_new(10.0, 0.5, 10.0),
  8.                 GOp_translation(0, 5.0, 0)),
  9.             GSolid_merge(
  10.                 //Pé
  11.                 GSolid_set_operator(
  12.                     GSolid_cylinder_new(10, 4.0, 0.5),
  13.                     GOp_translation(0, 3.0, 0)),
  14.                 //Base do pé
  15.                 GSolid_set_operator(
  16.                     GSolid_cylinder_new(30, 0.5, 3.0),
  17.                     GOp_translation(0, 0.75, 0))
  18.                 )
  19.             );         
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement