1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 01:18:46 +00:00

Fix xmldoc wording in Polygon and Polyhedron

It's a class now, not a struct
This commit is contained in:
Oliver Booth 2022-06-01 18:59:31 +01:00
parent eaa88ce11a
commit f5af7b9513
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ public class Polygon : IEquatable<Polygon>
}
/// <summary>
/// Initializes a new instance of the <see cref="Polygon" /> struct by copying the specified polygon.
/// Initializes a new instance of the <see cref="Polygon" /> class by copying the specified polygon.
/// </summary>
public Polygon(Polygon polygon)
: this(polygon._vertices)
@ -30,7 +30,7 @@ public class Polygon : IEquatable<Polygon>
}
/// <summary>
/// Initializes a new instance of the <see cref="Polygon" /> struct by constructing it from the specified vertices.
/// Initializes a new instance of the <see cref="Polygon" /> class by constructing it from the specified vertices.
/// </summary>
/// <param name="vertices">An enumerable collection of vertices from which the polygon should be constructed.</param>
public Polygon(IEnumerable<Point> vertices)

View File

@ -23,7 +23,7 @@ public class Polyhedron : IEquatable<Polyhedron>
}
/// <summary>
/// Initializes a new instance of the <see cref="Polyhedron" /> struct by copying the specified polyhedron.
/// Initializes a new instance of the <see cref="Polyhedron" /> class by copying the specified polyhedron.
/// </summary>
public Polyhedron(Polyhedron polyhedron)
: this(polyhedron._vertices)
@ -31,7 +31,7 @@ public class Polyhedron : IEquatable<Polyhedron>
}
/// <summary>
/// Initializes a new instance of the <see cref="Polyhedron" /> struct by constructing it from the specified vertices.
/// Initializes a new instance of the <see cref="Polyhedron" /> class by constructing it from the specified vertices.
/// </summary>
/// <param name="vertices">An enumerable collection of vertices from which the polyhedron should be constructed.</param>
public Polyhedron(IEnumerable<Vector3> vertices)