Corrected mistake

This commit is contained in:
Thomas FORGIONE 2015-05-28 17:41:06 +02:00
parent 45a7d105ed
commit 6b3a79c34e
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ THREEx.Transparency.objects = [];
*/
THREEx.Transparency.init = function(objects){
objects.forEach(function(object){
THREEx.Transpaency.objects.push(object);
THREEx.Transparency.objects.push(object);
object.material.transparent = true
object.material.depthWrite = false
});