[bmx] SetDrawMode by rdodson41 [ 1+ years ago ]

Started by BlitzBot, June 29, 2017, 00:28:41

Previous topic - Next topic

BlitzBot

Title : SetDrawMode
Author : rdodson41
Posted : 1+ years ago

Description : Sets the polygon drawing mode to filled, outlined, or outlined by points.

Code :
Code (blitzmax) Select
Const DRAW_POINT:Int = GL_POINT
Const DRAW_LINE:Int = GL_LINE
Const DRAW_FILL:Int = GL_FILL

Function SetDrawMode(mode:Int)
    glPolygonMode(GL_FRONT_AND_BACK, mode)
EndFunction


Comments : none...