mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: adjust member ordering to improve packing (of bools)
This commit is contained in:
committed by
Andrew Heather
parent
cb53ce3678
commit
7e9a417fca
@ -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_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user