_global_ (data)

_global_
_global_.gl
_global_.TraversalMode

Type of traverse modes

_global_.vertexAttributeKeys

Vertex attribute keys

_global_.vgl

ogs.vgl namespace

_global_.VisitorType

Types of visitor type

modelViewMatrixStack()

Helper function to create stack for matrices

pushMatrix(mat)
Arguments:
  • mat

Push new matrix to the stack

popMatrix()

Pop matrix from the stack

Returns:
Return type:
vglAttributeData()

Attribute data for the source

inherit(C, P)
Arguments:
  • C
  • P

Convenient function to define JS inheritance