WestLangley 8 gadi atpakaļ
vecāks
revīzija
cc3fc88eba
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/math/Plane.js

+ 2 - 0
src/math/Plane.js

@@ -7,6 +7,8 @@ import { Vector3 } from './Vector3';
 
 
 function Plane( normal, constant ) {
 function Plane( normal, constant ) {
 
 
+	// normal is assumed to be normalized
+
 	this.normal = ( normal !== undefined ) ? normal : new Vector3( 1, 0, 0 );
 	this.normal = ( normal !== undefined ) ? normal : new Vector3( 1, 0, 0 );
 	this.constant = ( constant !== undefined ) ? constant : 0;
 	this.constant = ( constant !== undefined ) ? constant : 0;