Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Example of typical source code:
for (...some ents and brush iterations...) {
if(...code to catch touch... && !...catch nodraw...) {
setPixelColor(...material and pixel...);
} else if(...catch nodraw...) {
break;
}
} //if it not catch object or catch nodraw it just will no update
Example of Garry's source code:
bool isCatchedObject = false;
for (...some ents and brush iterations...) {
if(...code to catch touch... && !...catch nodraw...) {
setPixelColor(...material and pixel...);
isCatchedObject = true;
} else if(...catch nodraw...) {
break;
}
}
if(!isCatchedObject) {
setPixelColor(...skybox...);
}
you have put a beacon in your addon, and called upon the commmunity to plague your comment section... there will never be an interesting comment here again!