Every line that has `GL.Vertex3` specifies the x,y,z location of a point in space. If you want these points to follow some position you control, just add the offset to each x,y,z component:
// SOATAOffset is a Vector3 that is computed from the camera position
// line 133
GL.Vertex3( SOATAOffset.x + startX + k, SOATAOffset.y + gridSizeY + offsetY, SOATAOffset.z + startZ + i);
You'll need to make this change everywhere, not just line 133.
↧