fix: Fixes Point2D ctor (#1340)

This commit is contained in:
Kamron Batman 2023-02-13 23:28:23 -08:00 committed by GitHub
parent f24c6a08dd
commit 65c196a8ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 45 additions and 35 deletions

View file

@ -54,10 +54,12 @@ public struct Point3D
{
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public Point3D(Point3D p) : this(p.X, p.Y, p.Z)
{
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public Point3D(Point2D p, int z) : this(p.X, p.Y, z)
{
}