title: StackOverFlowException when initializing array of Vector3's
body: <p>I've been trying to draw utah teapot with VBO and everytime when i run my program it throws StackOverFlowException in my Teapot class</p>
  
  <p>My Teapot class:</p>
  
  <pre><code>public class Teapot
  {
      Vector3[] teapot;
      int VBO_ID;
      public Teapot()
      {
          teapot = new Vector3[18960]
          {
              #region teapot vectors
              new Vector3(1.368074f, 2.435437f, -0.227403f),
              new Vector3(1.381968f, 2.400000f, -0.229712f),
              new Vector3(1.400000f, 2.400000f, 0.000000f),
              new Vector3(1.400000f, 2.400000f, 0.000000f),
              new Vector3(1.385925f, 2.435437f, 0.000000f),
              ...............
              #endregion
          };
          VBO_ID = GL.GenBuffer();
          GL.BindBuffer(BufferTarget.ArrayBuffer, VBO_ID);
          GL.BufferData&lt;Vector3&gt;(BufferTarget.ArrayBuffer, (IntPtr)(Vector3.SizeInBytes * teapot.Length), teapot, BufferUsageHint.StaticDraw);
          GL.BindBuffer(BufferTarget.ArrayBuffer, 0);
      }
  
      public void DRAW_TEAPOT()
      {
          GL.EnableClientState(ArrayCap.VertexArray);
          GL.BindBuffer(BufferTarget.ArrayBuffer, VBO_ID);
          GL.VertexPointer(3, VertexPointerType.Float, Vector3.SizeInBytes,0);
          GL.DrawArrays(PrimitiveType.Triangles ,0, teapot.Length);
      }
  
  }
  </code></pre>
  
  <p>Is there another way to store a 3D model inside my program?</p>