Отказ от функций 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
|
|
@ -146,11 +146,11 @@ namespace BGC
|
|||
this.x3 = -vector.x3;
|
||||
}
|
||||
|
||||
public void AppendScaled(F64Vector3 scalableSummand, double scale)
|
||||
public void AppendScaled(F64Vector3 summand, double scale)
|
||||
{
|
||||
this.x1 += scalableSummand.x1 * scale;
|
||||
this.x2 += scalableSummand.x2 * scale;
|
||||
this.x3 += scalableSummand.x3 * scale;
|
||||
this.x1 += summand.x1 * scale;
|
||||
this.x2 += summand.x2 * scale;
|
||||
this.x3 += summand.x3 * scale;
|
||||
}
|
||||
|
||||
public readonly override string ToString()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue