|
@@ -2,7 +2,7 @@ import { DeepImmutable } from '../types';
|
|
|
import { Vector3, Matrix } from './math.vector';
|
|
|
|
|
|
/**
|
|
|
- * Represens a plane by the equation ax + by + cz + d = 0
|
|
|
+ * Represents a plane by the equation ax + by + cz + d = 0
|
|
|
*/
|
|
|
export class Plane {
|
|
|
private static _TmpMatrix = Matrix.Identity();
|
|
@@ -205,4 +205,4 @@ export class Plane {
|
|
|
var d = -(normal.x * origin.x + normal.y * origin.y + normal.z * origin.z);
|
|
|
return Vector3.Dot(point, normal) + d;
|
|
|
}
|
|
|
-}
|
|
|
+}
|