March 05, 2021, 07:14:09 AM

Author Topic: [bmx] SetDrawMode by rdodson41 [ 1+ years ago ]  (Read 410 times)

Offline BlitzBot

[bmx] SetDrawMode by rdodson41 [ 1+ years ago ]
« on: June 29, 2017, 12:28:41 AM »
Title : SetDrawMode
Author : rdodson41
Posted : 1+ years ago

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

Code :
Code: BlitzMax
  1. Const DRAW_POINT:Int = GL_POINT
  2. Const DRAW_LINE:Int = GL_LINE
  3. Const DRAW_FILL:Int = GL_FILL
  4.  
  5. Function SetDrawMode(mode:Int)
  6.     glPolygonMode(GL_FRONT_AND_BACK, mode)
  7. EndFunction


Comments : none...

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal