Skip to content

Commit e2a92ac

Browse files
committed
1 parent 9df0827 commit e2a92ac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

v3/src/camera/3d/OrthographicCamera.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var OrthographicCamera = new Class({
7575
this.view.lookAt(this.position, tmpVec3, this.up);
7676

7777
// Projection * view matrix
78-
this.combined.copy(this.projection).mul(this.view);
78+
this.combined.copy(this.projection).multiply(this.view);
7979

8080
// Invert combined matrix, used for unproject
8181
this.invProjectionView.copy(this.combined).invert();

v3/src/camera/3d/PerspectiveCamera.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ var PerspectiveCamera = new Class({
5252
this.view.lookAt(this.position, tmpVec3, this.up);
5353

5454
// Projection * view matrix
55-
this.combined.copy(this.projection).mul(this.view);
55+
this.combined.copy(this.projection).multiply(this.view);
5656

5757
// Invert combined matrix, used for unproject
5858
this.invProjectionView.copy(this.combined).invert();

0 commit comments

Comments
 (0)