Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all
Unified · Split
| @@ -808,19 +808,15 @@ void VoxelSystem::falseColorizeInView(ViewFrustum* viewFrustum) { · 807 unmodified lines | |||
| 808 | setupNewVoxelsForDrawing(); | 808 | setupNewVoxelsForDrawing(); |
| 809 | } | 809 | } |
| 810 | 810 | ||
| 811 | // combines the removeOutOfView args into a single class | 811 | // helper classes and args for falseColorizeBySource |
| 812 | class groupColor { | 812 | class groupColor { |
| 813 | public: | 813 | public: |
| 814 | unsigned char red, green, blue; | 814 | unsigned char red, green, blue; |
| 815 | groupColor(unsigned char red, unsigned char green, unsigned char blue) : | 815 | groupColor(unsigned char red, unsigned char green, unsigned char blue) : |
| 816 | red(red), green(green), blue(blue) { }; | 816 | red(red), green(green), blue(blue) { }; |
| 817 | 817 | ||
| 818 | groupColor(const groupColor& color) : | ||
| 819 | red(color.red), green(color.green), blue(color.blue) { }; | ||
| 820 | |||
| 821 | groupColor() : | 818 | groupColor() : |
| 822 | red(0), green(0), blue(0) { }; | 819 | red(0), green(0), blue(0) { }; |
| 823 | |||
| 824 | }; | 820 | }; |
| 825 | 821 | ||
| 826 | class colorizeBySourceArgs { | 822 | class colorizeBySourceArgs { |