Esempio n. 1
0
 public Transform(PrintDetails.Vector2 translation, PrintDetails.Vector3 scale, PrintDetails.Vector3 rotation)
 {
     this.translation.x = translation.x;
     this.translation.y = translation.y;
     this.scale.x       = scale.x;
     this.scale.y       = scale.y;
     this.scale.z       = scale.z;
     this.rotation.x    = rotation.x;
     this.rotation.y    = rotation.y;
     this.rotation.z    = rotation.z;
 }
Esempio n. 2
0
 public Transform(PrintDetails.Transform other)
 {
     translation = other.translation;
     scale       = other.scale;
     rotation    = other.rotation;
 }