OpenGL.GL.selection

Selection-buffer handling code
This code is resonsible for turning gluint * arrays into structured representations for use by Python-level code.

Functions

Classes

Minimalist object for storing an OpenGL selection-buffer record
Provides near and far as *float* values by dividing by self.DISTANCE_DIVISOR (2**32-1) From the spec: Depth values (which are in the range [0,1]) are multiplied by 2^32 - 1, before being placed in the hit record.
Names are unmodified, so normally are slices of the array passed in to GLSelectRecord.fromArray( array )
far
names
near