MultiplyBy() public method

public MultiplyBy ( float factor ) : void
factor float
return void
Ejemplo n.º 1
0
 public Vector3D MultipliedBy(float factor, Vector3D outVector)
 {
     outVector.Copy(this);
     outVector.MultiplyBy(factor);
     return(outVector);
 }
Ejemplo n.º 2
0
 public Vector3D MultipliedBy(float factor)
 {
     Vector3D multiplied = new Vector3D(this);
     multiplied.MultiplyBy (factor);
     return multiplied;
 }