예제 #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
파일: Vector.cs 프로젝트: CloneDeath/GLImp
 /// <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;
 }