Пример #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()
Пример #2
0
 def set_y(self, value):
     Vector3.set_y(self, value)
     self.update_substructures()