Commit 7e9a417f authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

STYLE: adjust member ordering to improve packing (of bools)

parent cb53ce36
......@@ -211,6 +211,8 @@ Foam::functionObjects::runTimePostPro::surface::surface
representationTypeNames.get("representation", dict)
),
featureEdges_(dict.getOrDefault("featureEdges", false)),
backFaceCulling_(dict.getOrDefault("backFaceCulling", false)),
frontFaceCulling_(dict.getOrDefault("frontFaceCulling", true)),
surfaceColour_(nullptr),
edgeColour_(nullptr),
surfaceActor_(),
......
......@@ -170,6 +170,12 @@ protected:
//- Activate feature edges
bool featureEdges_;
//- Back face culling option; default = off
bool backFaceCulling_;
//- Front face culling option; default = on
bool frontFaceCulling_;
//- Surface colour
autoPtr<Function1<vector>> surfaceColour_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment