MCPcopy Create free account
hub / github.com/bwapi/bwapi / drawTriangle

Method drawTriangle

bwapi/BWAPI/Source/BWAPI/GameDrawing.cpp:164–168  ·  view source on GitHub ↗

------------------------------------------------ DRAW TRIANGLE -------------------------------------------

Source from the content-addressed store, hash-verified

162 }
163 //------------------------------------------------ DRAW TRIANGLE -------------------------------------------
164 void GameImpl::drawTriangle(CoordinateType::Enum ctype, int ax, int ay, int bx, int by, int cx, int cy, Color color, bool isSolid)
165 {
166 if (!inScreen(ctype,ax,ay,bx,by,cx,cy)) return;
167 addShape(BWAPIC::Shape(BWAPIC::ShapeType::Triangle,ctype,ax,ay,bx,by,cx,cy,color,isSolid));
168 }
169 //------------------------------------------------- DRAW CIRCLE --------------------------------------------
170 void GameImpl::drawCircle(CoordinateType::Enum ctype, int x, int y, int radius, Color color, bool isSolid)
171 {

Callers

nothing calls this directly

Calls 1

ShapeClass · 0.85

Tested by

no test coverage detected