fix: Fixes Point2D ctor (#1340)
This commit is contained in:
parent
f24c6a08dd
commit
65c196a8ae
7 changed files with 45 additions and 35 deletions
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue