Ejemplo n.º 1
0
 private void onUpdateView()
 {
     Normal = ColDir.Cross(RowDir);
     createScreenToWorldMatrix();
     cacheWorldToScreenVariables();
     colDirLength       = ColDir.Length();
     rowDirLength       = RowDir.Length();
     this.IsInvalidated = true;
 }
Ejemplo n.º 2
0
 public void Rotate(Matrix3d rotationMatrix)
 {
     ColDir       = rotationMatrix * ColDir;
     RowDir       = rotationMatrix * RowDir;
     colDirLength = ColDir.Length();
     rowDirLength = RowDir.Length();
     Normal       = ColDir.Cross(RowDir);
     this.onUpdateView();
 }