MCPcopy Index your code
hub / github.com/ad-si/LuaCAD / initIntOptions

Function initIntOptions

OpenCSG/src/settings.cpp:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 static int* gSetting = 0;
72
73 static void initIntOptions() {
74 if (!gSetting) {
75 gSetting = new int[OptionTypeUnused];
76 for (int i=0; i<OptionTypeUnused; ++i) {
77 gSetting[i] = 0;
78 }
79 }
80 }
81
82 void setOption(OptionType option, int newSetting) {
83 if ((unsigned int)option < OptionTypeUnused) {

Callers 2

setOptionFunction · 0.85
getOptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected