Esempio n. 1
0
        private static int StorePoint(IGrid grid, ISurface s, float x, float y, float z)
        {
            Vector3 pos = new Vector3(x, y, z);

            pos *= grid.Offset;
            pos += grid.Origin;

            return(s.AddVertex(pos));
        }