Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3815 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Apr 13, 2005, 11:45:56 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: inlined vector function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/math/vector.h

    r3814 r3815  
    3030
    3131  inline Vector operator+ (const Vector& v) const { return Vector(x + v.x, y + v.y, z + v.z); }
    32   Vector operator- (const Vector& v) const;
    33   float operator* (const Vector& v) const;
     32  Vector operator- (const Vector& v) const { return Vector(x - v.x, y - v.y, z - v.z); }
     33  float operator* (const Vector& v) const { return Vector(x * v.x, y * v.y, z * v.z); }
    3434  Vector operator* (float f) const;
    3535  Vector operator/ (float f) const;
Note: See TracChangeset for help on using the changeset viewer.