Exemplo n.º 1
0
 public Vector3i GetRegionCoordiantes(Vector3i absolutePosition)
 {
     return(Transformation.ChangeVectorScale(absolutePosition, regionSize));
 }
Exemplo n.º 2
0
 private Vector3i GetCellFromPosition(Vector3 position)
 {
     return(Transformation.ChangeVectorScale(position,
                                             new Vector3i(cellSideLength, cellSideLength, cellSideLength)));
 }