From 7a19c87c7e2e0590f34a12214739d0c4588c31eb Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Sun, 15 Jan 2023 05:35:09 +0100 Subject: C#: Sync `Plane` with Core - Add `Plane(Vector3)` constructor. - Rename `IntersectRay` to `IntersectsRay`. - Rename `IntersectSegment` to `IntersectsSegment`. - Replace `Center` property with `GetCenter` method. - Add and fix documentation about the _normal_ parameter to Core and C# documentation. --- doc/classes/Plane.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/classes') diff --git a/doc/classes/Plane.xml b/doc/classes/Plane.xml index fbe8afa8d1..e52d4bea3d 100644 --- a/doc/classes/Plane.xml +++ b/doc/classes/Plane.xml @@ -38,6 +38,7 @@ Creates a plane from the normal vector. The plane will intersect the origin. + The [param normal] of the plane must be a unit vector. @@ -46,6 +47,7 @@ Creates a plane from the normal vector and the plane's distance from the origin. + The [param normal] of the plane must be a unit vector. @@ -54,6 +56,7 @@ Creates a plane from the normal vector and a point on the plane. + The [param normal] of the plane must be a unit vector. @@ -152,7 +155,7 @@ In the scalar equation of the plane [code]ax + by + cz = d[/code], this is [code]d[/code], while the [code](a, b, c)[/code] coordinates are represented by the [member normal] property. - The normal of the plane, which must be normalized. + The normal of the plane, which must be a unit vector. In the scalar equation of the plane [code]ax + by + cz = d[/code], this is the vector [code](a, b, c)[/code], where [code]d[/code] is the [member d] property. -- cgit v1.2.3