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)
|
representationTypeNames.get("representation", dict)
|
||||||
),
|
),
|
||||||
featureEdges_(dict.getOrDefault("featureEdges", false)),
|
featureEdges_(dict.getOrDefault("featureEdges", false)),
|
||||||
|
backFaceCulling_(dict.getOrDefault("backFaceCulling", false)),
|
||||||
|
frontFaceCulling_(dict.getOrDefault("frontFaceCulling", true)),
|
||||||
surfaceColour_(nullptr),
|
surfaceColour_(nullptr),
|
||||||
edgeColour_(nullptr),
|
edgeColour_(nullptr),
|
||||||
surfaceActor_(),
|
surfaceActor_(),
|
||||||
|
|||||||
@ -170,6 +170,12 @@ protected:
|
|||||||
//- Activate feature edges
|
//- Activate feature edges
|
||||||
bool featureEdges_;
|
bool featureEdges_;
|
||||||
|
|
||||||
|
//- Back face culling option; default = off
|
||||||
|
bool backFaceCulling_;
|
||||||
|
|
||||||
|
//- Front face culling option; default = on
|
||||||
|
bool frontFaceCulling_;
|
||||||
|
|
||||||
//- Surface colour
|
//- Surface colour
|
||||||
autoPtr<Function1<vector>> surfaceColour_;
|
autoPtr<Function1<vector>> surfaceColour_;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user