Browse Source

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

WestLangley 8 years ago
parent
commit
2493cf2b47
1 changed files with 2 additions and 2 deletions
  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;