/// <summary> /// Create an alteration that rotates sprite to its path's tangent /// </summary> /// <param name="p_gi">GeometricsInterface</param> object from which to get the tangent's angle public RotateToTangent(GeometricsInterface p_gi) : base(0) { geometricObject = p_gi; }
GeometricsInterface geometricObject; // object from which to get the normal angle #endregion Fields #region Constructors /// <summary> /// Create an alteration that rotates sprite to its path's normal /// </summary> /// <param name="p_gi">GeometricsInterface</param> object from which to get the normal's angle public RotateToNormal(GeometricsInterface p_gi) : base(0) { geometricObject = p_gi; }
GeometricsInterface geometricObject; // object from which to get the normal angle /// <summary> /// Create an alteration that rotates sprite to its path's normal /// </summary> /// <param name="p_gi">GeometricsInterface</param> object from which to get the normal's angle public RotateToNormal(GeometricsInterface p_gi) : base(0) { geometricObject = p_gi; }