Update: CC - Bacon - Entity Loaded (8ia8dlk7l5.js) 11 bytes modified
parent
9fc8a86259
commit
567b62b468
|
@ -1486,10 +1486,8 @@ GameLib.CustomCode.prototype.clearGrid = function() {
|
||||||
GameLib.CustomCode.prototype.createTile = function(tileName, imageName, displace) {
|
GameLib.CustomCode.prototype.createTile = function(tileName, imageName, displace) {
|
||||||
|
|
||||||
var material = {
|
var material = {
|
||||||
{
|
|
||||||
materialType : GameLib.D3.API.Material.MATERIAL_TYPE_PHONG
|
materialType : GameLib.D3.API.Material.MATERIAL_TYPE_PHONG
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (imageName) {
|
if (imageName) {
|
||||||
material.diffuseMap = {
|
material.diffuseMap = {
|
||||||
|
@ -1510,9 +1508,9 @@ GameLib.CustomCode.prototype.createTile = function(tileName, imageName, displace
|
||||||
height : 1,
|
height : 1,
|
||||||
widthSegments : 10,
|
widthSegments : 10,
|
||||||
heightSegments : 10
|
heightSegments : 10
|
||||||
}
|
},
|
||||||
scene : this.scene,
|
scene : this.scene,
|
||||||
materials : [apiMaterial]
|
materials : [material]
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue