Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/tile.h
| Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
| /* Tile order */ | /* Tile order */ | ||||
| /* Note: this should match enum_tile_order in properties.py */ | /* Note: this should match enum_tile_order in properties.py */ | ||||
| enum TileOrder { | enum TileOrder { | ||||
| TILE_CENTER = 0, | TILE_CENTER = 0, | ||||
| TILE_RIGHT_TO_LEFT = 1, | TILE_RIGHT_TO_LEFT = 1, | ||||
| TILE_LEFT_TO_RIGHT = 2, | TILE_LEFT_TO_RIGHT = 2, | ||||
| TILE_TOP_TO_BOTTOM = 3, | TILE_TOP_TO_BOTTOM = 3, | ||||
| TILE_BOTTOM_TO_TOP = 4 | TILE_BOTTOM_TO_TOP = 4, | ||||
| TILE_HILBERT_SPIRAL = 5, | |||||
sergey: Please place comma at the end.
I would like to switch to that style, so adding new enum values… | |||||
| }; | }; | ||||
| /* Tile Manager */ | /* Tile Manager */ | ||||
| class TileManager { | class TileManager { | ||||
| public: | public: | ||||
| BufferParams params; | BufferParams params; | ||||
| ▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines | |||||
Please place comma at the end.
I would like to switch to that style, so adding new enum values doesn't add noise in patches by affecting previous enum line.