public void Transform(Matrix.Matrix4x4d matrix) { A = matrix * A; B = matrix * B; C = matrix * C; D = matrix * D; }
public void Transform(Matrix.Matrix4x4d matrix) { for (int i = 0; i < Points.Length; i++) { Points[i] = matrix * Points[i]; } }
public void Transform(Matrix.Matrix4x4d matrix) { Vector3d other = OtherPoint; Origin = matrix * Origin; other = matrix * other; OtherPoint = other; }
public void Transform(Matrix.Matrix4x4d matrix) { for (int i = 0; i < outlines.Length; i++) { if (!(outlines[i] is ITransformable3d)) { throw new InvalidOperationException( string.Format("The outline '{0}' at index '{1}' is not transformable", outlines[i], i)); } } for (int i = 0; i < outlines.Length; i++) { (outlines[i] as ITransformable3d).Transform(matrix); } }
public void Transform(Matrix.Matrix4x4d matrix) { Normal = matrix.Inverse * Normal; }
public void Transform(Matrix.Matrix4x4d matrix) { Center = matrix * Center; }