mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Update GenerateGridVerts.js
This commit is contained in:
parent
2801d3d804
commit
5639862010
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ var GenerateGridVerts = function (config)
|
|||
var mesh = GetFastValue(config, 'mesh');
|
||||
var texture = GetFastValue(config, 'texture', (mesh) ? mesh.texture : null);
|
||||
var frame = GetFastValue(config, 'frame');
|
||||
var width = GetFastValue(config, 'width', 128);
|
||||
var width = GetFastValue(config, 'width', 1);
|
||||
var height = GetFastValue(config, 'height', width);
|
||||
var widthSegments = GetFastValue(config, 'widthSegments', 1);
|
||||
var heightSegments = GetFastValue(config, 'heightSegments', widthSegments);
|
||||
|
|
Loading…
Reference in a new issue