Maven module :un.storage : model3d-md2 :
Class :
un.storage.model3d.md2.model.MD2GLCommand
Extends/Implements : -
Subclasses : -
Variables :
TYPE_TRIANGLE_STRIP,
TYPE_TRIANGLE_FAN,
TYPE_END,
type,
vertCommand
Functions : -
public int
TYPE_TRIANGLE_STRIP
public int
TYPE_TRIANGLE_FAN
public int
TYPE_END
public int
type
public MD2GLCommandVertex[]
vertCommand
which is made up of a series of numGlCommands int's and float's,
organized into groups. Each group starts with an int. If it is positive,
it is followed by that many glCommandVertex_t structures, which form a triangle strip.
If it is negative, it is followed by -x glCommandVertex_t structures,
which fo rm a triangle fan. A 0 indicates the end of the list.
The list is an optimized way of issuing commands when rendering with OpenGl.
@author Johann Sorel