Exemple #1
0
 public MatrixWorld(MatrixWorld mw)
 {
     this.rect  = mw.rect;
     this.count = rect.Count;
     arr        = new float[mw.arr.Length];
     Array.Copy(mw.arr, arr, mw.arr.Length);
     worldPos  = mw.worldPos;
     worldSize = mw.worldSize;
 }
Exemple #2
0
 public void SetMatrixWorld(MatrixWorld matrix, bool centerCell = false, FilterMode filterMode = FilterMode.Point)
 {
     SetMatrix(matrix, centerCell: centerCell, filterMode: filterMode);
     SetOffsetSize((Vector2D)matrix.worldPos, (Vector2D)matrix.worldSize);
 }
Exemple #3
0
 public void SetMatrixWorld(MatrixWorld matrix)
 {
     SetMatrix(matrix);
     SetOffsetSize((Vector2D)matrix.worldPos, (Vector2D)matrix.worldSize);
 }
Exemple #4
0
 public void SetMatrixWorld(MatrixWorld matrix, bool faceted = false) //, bool centerCell=true)
 {
     SetMatrix(matrix, faceted);                                      //, centerCell);
     SetOffsetSize(matrix.worldPos, matrix.worldSize);
 }