Отказ от функций GetWeightedSum в пользу AppendScaled; оптимизация версоров / Replacing of GetWeightedSum onto AppendScaled; versor optimization
This commit is contained in:
parent
c3dc0b2ecd
commit
c66edd3432
14 changed files with 142 additions and 548 deletions
|
|
@ -134,10 +134,10 @@ namespace BGC
|
|||
this.x2 = -vector.x2;
|
||||
}
|
||||
|
||||
public void AppendScaled(F64Vector2 scalableSummand, double scale)
|
||||
public void AppendScaled(F64Vector2 summand, double scale)
|
||||
{
|
||||
this.x1 += scalableSummand.x1 * scale;
|
||||
this.x2 += scalableSummand.x2 * scale;
|
||||
this.x1 += summand.x1 * scale;
|
||||
this.x2 += summand.x2 * scale;
|
||||
}
|
||||
|
||||
public readonly override string ToString()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue