diff options
Diffstat (limited to 'intern/cycles/render/geometry.h')
-rw-r--r-- | intern/cycles/render/geometry.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/intern/cycles/render/geometry.h b/intern/cycles/render/geometry.h index 4fd867d9894..4d11d04e4c8 100644 --- a/intern/cycles/render/geometry.h +++ b/intern/cycles/render/geometry.h @@ -59,7 +59,7 @@ enum PackFlags : uint32_t { PACK_ALL = (PACK_GEOMETRY | PACK_VERTICES | PACK_VISIBILITY), }; -PackFlags operator |= (PackFlags &pack_flags, uint32_t value); +PackFlags operator|=(PackFlags &pack_flags, uint32_t value); /* Geometry * @@ -144,7 +144,10 @@ class Geometry : public Node { int n, int total); - virtual void pack_primitives(PackedBVH *pack, int object, uint visibility, PackFlags pack_flags) = 0; + virtual void pack_primitives(PackedBVH *pack, + int object, + uint visibility, + PackFlags pack_flags) = 0; /* Check whether the geometry should have own BVH built separately. Briefly, * own BVH is needed for geometry, if: |