BEPUphysics.CollisionShapes.TerrainShape.GetLocalPosition C# (CSharp) Method

GetLocalPosition() public method

Gets the position of a vertex at the given indices in local space.
public GetLocalPosition ( int i, int j, Vector3 &v ) : void
i int Index in the first dimension.
j int Index in the second dimension.
v Vector3 Local space position at the given vertice.s
return void
        public void GetLocalPosition(int i, int j, out Vector3 v)
        {
#if !WINDOWS
            v = new Vector3();
#endif
            v.X = i;
            v.Y = heights[i, j];
            v.Z = j;
        }