示例#1
0
文件: Point.cs 项目: CloneDeath/GLImp
 /// <summary>
 /// Sets new value from the given point.
 /// </summary>
 /// <param name="p"></param>
 public void Set(Point3D p)
 {
     X = p.X;
     Y = p.Y;
     Z = p.Z;
 }
示例#2
0
 /// <summary>
 /// Creates a new vector from the given point.
 /// </summary>
 /// <param name="p">The point to construct a position vector from.</param>
 public Vector3D(Point3D p)
 {
     X = p.X;
     Y = p.Y;
     Z = p.Z;
 }