openCom-Companion/sbapp/kivymd/uix/templates/rotatewidget/rotatewidget.kv

10 lines
228 B
Plaintext
Raw Normal View History

<RotateWidget>
canvas.before:
PushMatrix
Rotate:
angle: self.rotate_value_angle
axis: tuple(self.rotate_value_axis)
origin: self.center
canvas.after:
PopMatrix