MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetLineWidth

Method SetLineWidth

Source/Graphics/graphics.cpp:1515–1522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1513}
1514
1515void Graphics::SetLineWidth(int val) {
1516 if (line_width != val) {
1517 line_width = val;
1518#ifndef PLATFORM_MACOSX
1519 glLineWidth((float)val);
1520#endif
1521 }
1522}
1523
1524void Graphics::ResizeWindow(int& w, int& h) {
1525 if (config_.full_screen() == FullscreenMode::kFullscreen) {

Callers 6

UpdateMethod · 0.80
DrawSafeZoneMethod · 0.80
DrawNavMeshMethod · 0.80
DrawMethod · 0.80
DrawVertMethod · 0.80
DrawVertColorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected