| ENTRY | DOWNLOAD | MANUAL | ONGOING | |
disc()Draws a filled circle in space. This is a high level alternative to using OpenGL calls directly. Fill color is set with glColor4f().
disc(x, y, radius)
disc(x, y, z, radius)
Relevant examples: shape2D.py , shape3D.py , points.py , curve.py , line.py , ALL In Context
def onDraw(self):
disc(0, 0, 0, 1)
def onDraw(self):
glColor4f(1.0, 0.5, 0.5, 1.0)
disc(0, 0, 0 1)
def onDrawOrtho(self):
disc(200, 200, 50)
|
|
|
Initiated by Stephan Hechenberger Thanks to CADRE's 103 |
|