Skip to content

Commit 639e6a1

Browse files
committed
Camera update now receives timestep and delta
1 parent 5fff7c4 commit 639e6a1

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

v3/src/camera/Camera.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Camera.prototype = {
8888
return this;
8989
},
9090

91-
update: function (delta)
91+
update: function (timestep, delta)
9292
{
9393
if (this._flashAlpha > 0.0)
9494
{

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: '16384640-5308-11e7-8460-f5f1d2b80b32'
2+
build: '54effe90-54f3-11e7-845d-d91b54e9fe70'
33
};
44
module.exports = CHECKSUM;

v3/src/state/systems/CameraManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ CameraManager.prototype = {
8888
this.main = this.add();
8989
},
9090

91-
update: function (timestep)
91+
update: function (timestep, delta)
9292
{
9393
for (var i = 0, l = this.cameras.length; i < l; ++i)
9494
{
95-
this.cameras[i].update(timestep);
95+
this.cameras[i].update(timestep, delta);
9696
}
9797
},
9898

0 commit comments

Comments
 (0)