We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c617fa0 commit 94ab87eCopy full SHA for 94ab87e
main.py
@@ -103,9 +103,9 @@ def transformAndPlot(plot,matrix):
103
def examplesComboBox(window,comboBox):
104
examples = {
105
'Original Grid' :[[1, 0, 0],[0, 1, 0],[0, 0, 1]],
106
- 'X rotation 45º' :[[1, 0, 0],[0, 'cos(45*pi/180)', -sin(45*pi/180)],[0, sin(45*pi/180), cos(45*pi/180)]],
107
- 'Y rotation 45º' :[[cos(45*pi/180), -sin(45*pi/180), 0],[sin(45*pi/180), cos(45*pi/180), 0],[0, 0, 1]],
108
- 'Z rotation 45º' :[[cos(45*pi/180), 0, -sin(45*pi/180)],[0, 1, 0],[sin(45*pi/180), 0, cos(45*pi/180)]]
+ 'X rotation 45º' :[[1, 0, 0],[0, 'cos(45*pi/180)', '-sin(45*pi/180)'],[0, 'sin(45*pi/180)', 'cos(45*pi/180)']],
+ 'Y rotation 45º' :[['cos(45*pi/180)', '-sin(45*pi/180)', 0],['sin(45*pi/180)', 'cos(45*pi/180)', 0],[0, 0, 1]],
+ 'Z rotation 45º' :[['cos(45*pi/180)', 0, '-sin(45*pi/180)'],[0, 1, 0],['sin(45*pi/180)', 0, 'cos(45*pi/180)']]
109
}
110
for key in examples:
111
examplesWidget.addItem(key)
0 commit comments