Skip to content

Commit d3697ab

Browse files
committed
refactor Shape's transform logic to a new class
1 parent 1b1ef18 commit d3697ab

File tree

4 files changed

+278
-134
lines changed

4 files changed

+278
-134
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Examples
6565
rotation[1]+=1.0; // Adjust y-rotation by 1 degree
6666
// Update the shape's rotation
6767
var q=GLMath.quatFromTaitBryan(rotation);
68-
shape.setRotation(q);
68+
shape.setOrientation(q);
6969
// Render the scene
7070
scene.render();
7171
});

0 commit comments

Comments
 (0)