source:
orxonox.OLD/trunk/src/lib/physics/fields/point_gravity.h
@
9984
| Last change on this file since 9984 was 9869, checked in by bensch, 19 years ago | |
|---|---|
| File size: 405 bytes | |
| Line | |
|---|---|
| 1 | /*! |
| 2 | * @file point_gravity.h |
| 3 | * Definition of ... |
| 4 | |
| 5 | */ |
| 6 | |
| 7 | #ifndef _POINT_GRAVITY_H |
| 8 | #define _POINT_GRAVITY_H |
| 9 | |
| 10 | #include "field.h" |
| 11 | |
| 12 | // FORWARD DECLARATION |
| 13 | |
| 14 | |
| 15 | |
| 16 | //! A class for ... |
| 17 | class PointGravity : public Field { |
| 18 | ObjectListDeclaration(PointGravity); |
| 19 | |
| 20 | public: |
| 21 | PointGravity(); |
| 22 | virtual ~PointGravity(); |
| 23 | |
| 24 | virtual Vector calcForce(const Vector& data) const; |
| 25 | |
| 26 | private: |
| 27 | |
| 28 | }; |
| 29 | |
| 30 | #endif /* _POINT_GRAVITY_H */ |
Note: See TracBrowser
for help on using the repository browser.










