equal
deleted
inserted
replaced
46 TReal GetInterpolatedX() const; |
46 TReal GetInterpolatedX() const; |
47 TReal GetInterpolatedY() const; |
47 TReal GetInterpolatedY() const; |
48 TReal VelX() const; |
48 TReal VelX() const; |
49 TReal VelY() const; |
49 TReal VelY() const; |
50 TReal EndX() const; |
50 TReal EndX() const; |
51 TReal EndY() const; |
51 TReal EndY() const; |
52 TReal StartX() const; |
52 |
53 TReal StartY() const; |
|
54 |
|
55 private: |
53 private: |
56 |
54 |
57 TReal iPrevX, iPrevY; |
55 TReal iPrevX, iPrevY; |
58 TReal iX, iY; |
56 TReal iX, iY; |
59 TReal iEndX, iEndY; |
57 TReal iEndX, iEndY; |
62 TReal iSpringK; |
60 TReal iSpringK; |
63 TReal iSpringDamping; |
61 TReal iSpringDamping; |
64 TReal iMaxSpringVelocity; |
62 TReal iMaxSpringVelocity; |
65 TReal iPositionSnap; |
63 TReal iPositionSnap; |
66 TReal iVelocitySnap; |
64 TReal iVelocitySnap; |
67 TReal iStartX, iStartY; |
|
68 }; |
65 }; |
69 |
66 |
70 |
67 |
71 #endif /* HGVGSPRING_H */ |
68 #endif /* HGVGSPRING_H */ |