Explorar el Código

PlaneHelper: .update() -> .onBeforeRender()

WestLangley hace 8 años
padre
commit
2493cf2b47
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/helpers/PlaneHelper.js

+ 2 - 2
src/helpers/PlaneHelper.js

@@ -29,14 +29,14 @@ function PlaneHelper( plane, size, hex ) {
 
 	this.geometry.computeBoundingSphere();
 
-	this.update();
+	this.onBeforeRender();
 
 }
 
 PlaneHelper.prototype = Object.create( Line.prototype );
 PlaneHelper.prototype.constructor = PlaneHelper;
 
-PlaneHelper.prototype.update = function () {
+PlaneHelper.prototype.onBeforeRender = function () {
 
 	var scale = - this.plane.constant;