Skip to content

Commit 97b7993

Browse files
committed
fix(CubeSource): Change buildFromRadian to buildFromDegree for rotations
1 parent 190d8d1 commit 97b7993

File tree

1 file changed

+1
-1
lines changed
  • Sources/Filters/Sources/CubeSource

1 file changed

+1
-1
lines changed

Sources/Filters/Sources/CubeSource/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function vtkCubeSource(publicAPI, model) {
175175

176176
// Apply rotation to the points coordinates and normals
177177
vtkMatrixBuilder
178-
.buildFromRadian()
178+
.buildFromDegree()
179179
.rotateX(model.rotations[0])
180180
.rotateY(model.rotations[1])
181181
.rotateZ(model.rotations[2])

0 commit comments

Comments
 (0)