diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 16:44:29 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 16:44:29 (GMT) |
| commit | e36bc8e4aeaf26b87d81f4e8df6c82c242256db9 (patch) | |
| tree | 777b2d175915ca5e710d4638d60fe2b0ee52948e /src/simulation/Simulation.h | |
| parent | 811c2cb26bdce4975c23c4c47d61471726dbab0d (diff) | |
| download | powder-e36bc8e4aeaf26b87d81f4e8df6c82c242256db9.zip powder-e36bc8e4aeaf26b87d81f4e8df6c82c242256db9.tar.gz | |
TPT: Gravity modes and Newtonian gravity for fireworks 31ce22f122
Diffstat (limited to 'src/simulation/Simulation.h')
| -rw-r--r-- | src/simulation/Simulation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simulation/Simulation.h b/src/simulation/Simulation.h index b47fde6..60a010c 100644 --- a/src/simulation/Simulation.h +++ b/src/simulation/Simulation.h @@ -179,6 +179,8 @@ public: void ApplyDecorationLine(int x1, int y1, int x2, int y2, int colR, int colG, int colB, int colA, int mode, Brush * cBrush = NULL); void ApplyDecorationBox(int x1, int y1, int x2, int y2, int colR, int colG, int colB, int colA, int mode); + void GetGravityField(int x, int y, float particleGrav, float newtonGrav, float & pGravX, float & pGravY); + void *transform_save(void *odata, int *size, matrix2d transform, vector2d translate); inline void orbitalparts_get(int block1, int block2, int resblock1[], int resblock2[]); inline void orbitalparts_set(int *block1, int *block2, int resblock1[], int resblock2[]); |
