ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/Vector3d.hpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/Vector3d.hpp (file contents):
Revision 1254 by tim, Wed Jun 9 16:16:33 2004 UTC vs.
Revision 1452 by tim, Mon Aug 23 15:11:36 2004 UTC

# Line 186 | Line 186 | class Vector3d{
186       friend Vector3d operator- ( const Vector3d& v1, const Vector3d& v2) {
187        return Vector3d(v1.x-v2.x, v1.y-v2.y, v1.z-v2.z);
188       }
189 <     //! unary minus
189 >     //unary minus
190       friend Vector3d operator- ( const Vector3d& v) {
191        return Vector3d(-v.x, -v.y, -v.z);
192       }
# Line 241 | Line 241 | class Vector3d{
241        return x*x + y*y + z*z;
242      }
243  
244 +    Mat3x3d makeSkewMat();
245    public:
246      //using anonymous union and struct to support double[3]
247      union{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines