示例#1
0
 private void onUpdateView()
 {
     Normal = ColDir.Cross(RowDir);
     createScreenToWorldMatrix();
     cacheWorldToScreenVariables();
     colDirLength       = ColDir.Length();
     rowDirLength       = RowDir.Length();
     this.IsInvalidated = true;
 }
示例#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();
 }