Obsoleted Scale() instance method (reason: redundant. Mult()/Multiply() instance/static methods can be used to achieve the same effect).
This commit is contained in:
parent
201b06931e
commit
f2c91d4a7c
6 changed files with 18 additions and 0 deletions
|
@ -297,6 +297,7 @@ namespace OpenTK
|
|||
/// </summary>
|
||||
/// <param name="sx">The scale of the X component.</param>
|
||||
/// <param name="sy">The scale of the Y component.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(float sx, float sy)
|
||||
{
|
||||
this.X = X * sx;
|
||||
|
@ -305,6 +306,7 @@ namespace OpenTK
|
|||
|
||||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(Vector2 scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
@ -314,6 +316,7 @@ namespace OpenTK
|
|||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[CLSCompliant(false)]
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(ref Vector2 scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
|
|
@ -244,6 +244,7 @@ namespace OpenTK
|
|||
/// </summary>
|
||||
/// <param name="sx">The scale of the X component.</param>
|
||||
/// <param name="sy">The scale of the Y component.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(double sx, double sy)
|
||||
{
|
||||
X *= sx;
|
||||
|
@ -252,6 +253,7 @@ namespace OpenTK
|
|||
|
||||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(Vector2d scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
@ -261,6 +263,7 @@ namespace OpenTK
|
|||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[CLSCompliant(false)]
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(ref Vector2d scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
|
|
@ -286,6 +286,7 @@ namespace OpenTK
|
|||
/// <param name="sx">The scale of the X component.</param>
|
||||
/// <param name="sy">The scale of the Y component.</param>
|
||||
/// <param name="sz">The scale of the Z component.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(float sx, float sy, float sz)
|
||||
{
|
||||
this.X = X * sx;
|
||||
|
@ -295,6 +296,7 @@ namespace OpenTK
|
|||
|
||||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(Vector3 scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
@ -305,6 +307,7 @@ namespace OpenTK
|
|||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[CLSCompliant(false)]
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(ref Vector3 scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
|
|
@ -285,6 +285,7 @@ namespace OpenTK
|
|||
/// <param name="sx">The scale of the X component.</param>
|
||||
/// <param name="sy">The scale of the Y component.</param>
|
||||
/// <param name="sz">The scale of the Z component.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(double sx, double sy, double sz)
|
||||
{
|
||||
this.X = X * sx;
|
||||
|
@ -294,6 +295,7 @@ namespace OpenTK
|
|||
|
||||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(Vector3d scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
@ -304,6 +306,7 @@ namespace OpenTK
|
|||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[CLSCompliant(false)]
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(ref Vector3d scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
|
|
@ -351,6 +351,7 @@ namespace OpenTK
|
|||
/// <param name="sy">The scale of the Y component.</param>
|
||||
/// <param name="sz">The scale of the Z component.</param>
|
||||
/// <param name="sw">The scale of the Z component.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(float sx, float sy, float sz, float sw)
|
||||
{
|
||||
this.X = X * sx;
|
||||
|
@ -361,6 +362,7 @@ namespace OpenTK
|
|||
|
||||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(Vector4 scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
@ -372,6 +374,7 @@ namespace OpenTK
|
|||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[CLSCompliant(false)]
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(ref Vector4 scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
|
|
@ -348,6 +348,7 @@ namespace OpenTK
|
|||
/// <param name="sy">The scale of the Y component.</param>
|
||||
/// <param name="sz">The scale of the Z component.</param>
|
||||
/// <param name="sw">The scale of the Z component.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(double sx, double sy, double sz, double sw)
|
||||
{
|
||||
this.X = X * sx;
|
||||
|
@ -358,6 +359,7 @@ namespace OpenTK
|
|||
|
||||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(Vector4d scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
@ -369,6 +371,7 @@ namespace OpenTK
|
|||
/// <summary>Scales this instance by the given parameter.</summary>
|
||||
/// <param name="scale">The scaling of the individual components.</param>
|
||||
[CLSCompliant(false)]
|
||||
[Obsolete("Use static Multiply() method instead.")]
|
||||
public void Scale(ref Vector4d scale)
|
||||
{
|
||||
this.X *= scale.X;
|
||||
|
|
Loading…
Reference in a new issue