Ignore:
Timestamp:
Apr 15, 2010, 10:54:26 AM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
32842d8
Parents:
1f591b
Message:

Changed implementation of Vector to forward operations to contained objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/ellipsoid.cpp

    r1f591b re7ea64  
    5959  Matrix[8] = cos(theta);
    6060  helper.MatrixMultiplication(Matrix);
    61   helper.Scale(InverseLength);
     61  helper.ScaleAll(InverseLength);
    6262  //Log() << Verbose(4) << "Transformed RefPoint is at " << helper << "." << endl;
    6363
     
    7070  theta = -EllipsoidAngle[1];
    7171  phi = -EllipsoidAngle[2];
    72   helper.Scale(EllipsoidLength);
     72  helper.ScaleAll(EllipsoidLength);
    7373  Matrix[0] = cos(psi)*cos(phi) - sin(psi)*cos(theta)*sin(phi);
    7474  Matrix[1] = -cos(psi)*sin(phi) - sin(psi)*cos(theta)*cos(phi);
Note: See TracChangeset for help on using the changeset viewer.