Ejemplo n.º 1
0
 public static T TranslateRotateScale <T>(this ITransformable3D <T> self, Vector3 pos, Quaternion rot, Vector3 scale) where T : ITransformable3D <T>
 => self.Translate(pos).Rotate(rot).Scale(scale);
Ejemplo n.º 2
0
 public static T Translate <T>(this ITransformable3D <T> self, float x, float y, float z)
 => self.Translate(new Vector3(x, y, z));