Advertisement
CharcoStudios

Untitled

Jun 30th, 2012
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  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.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement