Exemple #1
0
    def set_coords(self, x=None, y=None, z=None):
        if x is not None:
            Vector3.set_x(self, x)

        if y is not None:
            Vector3.set_y(self, y)

        if z is not None:
            Vector3.set_z(self, z)

        self.update_substructures()
Exemple #2
0
 def set_x(self, value):
     Vector3.set_x(self, value)
     self.update_substructures()