From cc3fc88eba1682263abe9e48cf48b2e69d5fc066 Mon Sep 17 00:00:00 2001 From: WestLangley Date: Sat, 22 Jul 2017 00:54:38 -0400 Subject: [PATCH] Add comment --- src/math/Plane.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/math/Plane.js b/src/math/Plane.js index 198062738f..bb9816c418 100644 --- a/src/math/Plane.js +++ b/src/math/Plane.js @@ -7,6 +7,8 @@ import { Vector3 } from './Vector3'; function Plane( normal, constant ) { + // normal is assumed to be normalized + this.normal = ( normal !== undefined ) ? normal : new Vector3( 1, 0, 0 ); this.constant = ( constant !== undefined ) ? constant : 0; -- GitLab