Quantcast
Channel: Answers by "Graham-Dunnett"
Viewing all articles
Browse latest Browse all 959

Answer by Graham Dunnett

$
0
0
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.

Viewing all articles
Browse latest Browse all 959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>