Fix Drawable
's use of m4
for TWGL 4.x
The `create` method of `m4` has disappeared; call `identity` instead.
This commit is contained in:
parent
bf042c2362
commit
a38c74c2c1
@ -51,7 +51,7 @@ class Drawable {
|
||||
this._scale = twgl.v3.create(100, 100);
|
||||
this._direction = 90;
|
||||
this._transformDirty = true;
|
||||
this._inverseMatrix = twgl.m4.create();
|
||||
this._inverseMatrix = twgl.m4.identity();
|
||||
this._inverseTransformDirty = true;
|
||||
this._visible = true;
|
||||
this._effectBits = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user