CharcoStudios

Untitled

Jun 30th, 2012
114
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         int s = 10, d=10;
  2.             for ( int i=0; i<=s; i++ )
  3.             {
  4.                  DrawLine3D(
  5.                     new Vector3( -s*0.5f * d, 0, (i-s*0.5f) *  d ),
  6.                     new Vector3( +s*0.5f * d, 0, (i-s*0.5f) * d ),
  7.                     Color.Gray );
  8.  
  9.                 DrawLine3D(
  10.                         new Vector3( (i-s*0.5f)*  d, 0, -s*0.5f * d ),
  11.                         new Vector3( (i-s*0.5f) * d, 0, +s*0.5f * d ),
  12.                         Color.Gray );
  13.             }
RAW Paste Data