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

Method Draw

Source/Objects/navmeshregionobject.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void NavmeshRegionObject::Draw() {
50 // Check if we should be drawn.
51 if (scenegraph_->map_editor->state_ == MapEditor::kInGame || Graphics::Instance()->media_mode() || ActiveCameras::Instance()->Get()->GetFlags() == Camera::kPreviewCamera) {
52 return;
53 }
54}
55
56void NavmeshRegionObject::GetDesc(EntityDescription& desc) const {
57 Object::GetDesc(desc);

Callers

nothing calls this directly

Calls 3

media_modeMethod · 0.80
GetFlagsMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected