diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-13 16:43:41 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-13 16:43:41 (GMT) |
| commit | 4032a0469b1f40f7197468f34986e365bd6e7314 (patch) | |
| tree | f324519139168068628f8d6e0fc8046001c9c0a1 /src/simulation/Simulation.cpp | |
| parent | a2e91c247fab4a2cee8936d83979f4a72390f7e7 (diff) | |
| download | powder-4032a0469b1f40f7197468f34986e365bd6e7314.zip powder-4032a0469b1f40f7197468f34986e365bd6e7314.tar.gz | |
Click function for tools that aren't continuous. Debug helper for UI components (Ctrl+Shift D when DEBUG is defined), fix add sign window logic
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 41565a2..a992ef8 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -1138,7 +1138,7 @@ void *Simulation::transform_save(void *odata, int *size, matrix2d transform, vec return ndata; } -void Simulation::orbitalparts_get(int block1, int block2, int resblock1[], int resblock2[]) +inline void Simulation::orbitalparts_get(int block1, int block2, int resblock1[], int resblock2[]) { resblock1[0] = (block1&0x000000FF); resblock1[1] = (block1&0x0000FF00)>>8; @@ -1151,7 +1151,7 @@ void Simulation::orbitalparts_get(int block1, int block2, int resblock1[], int r resblock2[3] = (block2&0xFF000000)>>24; } -void Simulation::orbitalparts_set(int *block1, int *block2, int resblock1[], int resblock2[]) +inline void Simulation::orbitalparts_set(int *block1, int *block2, int resblock1[], int resblock2[]) { int block1tmp = 0; int block2tmp = 0; |
