All pastes #872088 Raw Edit

Untitled

public text v1 · immutable
#872088 ·published 2008-01-25 15:15 UTC
rendered paste body
Im using the tar 2.2.2 Is this the correct section
having not read the openGL docs or python docs yet are my first guesses close?

s.position[3] point of cone or axis of cone ?

          cone_scale = 1
            pos = to_internal_units(pos[:3])      real to internal units?
            glPushMatrix()                        ?
            glTranslatef(*pos)                    move to pos?  
            if s.axis_mask & (1<<3):              is rotate needed?
                glRotatef(s.position[3], 1, 0, 0) actual rotate of cone object in gl?

            glEnable(GL_BLEND)                    this and next 2 lines redraw in new pos?
            glEnable(GL_CULL_FACE);
            glBlendFunc(GL_ONE, GL_CONSTANT_ALPHA);