MCPcopy Create free account
hub / github.com/ad-si/LuaCAD / setOption

Function setOption

OpenCSG/src/settings.cpp:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 void setOption(OptionType option, int newSetting) {
83 if ((unsigned int)option < OptionTypeUnused) {
84 initIntOptions();
85 gSetting[option] = newSetting;
86 }
87 }
88
89 int getOption(OptionType option) {
90 initIntOptions();

Callers 1

opencsg_set_optionFunction · 0.85

Calls 1

initIntOptionsFunction · 0.85

Tested by

no test coverage detected