mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-26 05:15:58 +10:00
merging with r29
This commit is contained in:
Executable → Regular
+1
-1
@@ -115,7 +115,7 @@ var BotArmL = function () {
|
||||
|
||||
scope.autoColor = function(){
|
||||
for(var s in this.selections){
|
||||
for(var i = 0 ; i < this.selections[s].length; i++) this.faces[this.selections[s][i]].material = [ new THREE.MeshColorFillMaterial( this.colors[s],1) ];
|
||||
for(var i = 0 ; i < this.selections[s].length; i++) this.faces[this.selections[s][i]].material = [new THREE.MeshBasicMaterial({color:this.colors[s]})];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Executable → Regular
+1
-1
@@ -143,7 +143,7 @@ var BotArmR = function () {
|
||||
|
||||
scope.autoColor = function(){
|
||||
for(var s in this.selections){
|
||||
for(var i = 0 ; i < this.selections[s].length; i++) this.faces[this.selections[s][i]].material = [ new THREE.MeshColorFillMaterial( this.colors[s],1) ];
|
||||
for(var i = 0 ; i < this.selections[s].length; i++) this.faces[this.selections[s][i]].material = [new THREE.MeshBasicMaterial({color:this.colors[s]})];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Executable → Regular
+1
-1
@@ -516,7 +516,7 @@ var BotLowerBody = function () {
|
||||
|
||||
scope.autoColor = function(){
|
||||
for(var s in this.selections){
|
||||
for(var i = 0 ; i < this.selections[s].length; i++) this.faces[this.selections[s][i]].material = [ new THREE.MeshColorFillMaterial( this.colors[s],1) ];
|
||||
for(var i = 0 ; i < this.selections[s].length; i++) this.faces[this.selections[s][i]].material = [new THREE.MeshBasicMaterial({color:this.colors[s]})];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Executable → Regular
+1
-1
@@ -873,7 +873,7 @@ var BotUpperBody = function () {
|
||||
|
||||
scope.autoColor = function(){
|
||||
for(var s in this.selections){
|
||||
for(var i = 0 ; i < this.selections[s].length; i++) this.faces[this.selections[s][i]].material = [ new THREE.MeshColorFillMaterial( this.colors[s],1) ];
|
||||
for(var i = 0 ; i < this.selections[s].length; i++) this.faces[this.selections[s][i]].material = [new THREE.MeshBasicMaterial({color:this.colors[s]})];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -42,8 +42,8 @@ var Box6 = function () {
|
||||
scope.colors["right"] = 0xb2b200;
|
||||
|
||||
scope.autoColor = function(){
|
||||
for(var s in this.selections){
|
||||
for(var i = 0 ; i < this.selections[s].length; i++) this.faces[this.selections[s][i]].material = [ new THREE.MeshColorFillMaterial( this.colors[s],1) ];
|
||||
for(var s in this.selections){
|
||||
for(var i = 0 ; i < this.selections[s].length; i++) this.faces[this.selections[s][i]].material = [ new THREE.MeshBasicMaterial( { color: this.colors[s], wireframe: false } ) ];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user