TCrosshair


Croquet-Teapot

Comment:

This is a small crosshair in the center ofthe camera field of view.

Hierarchy:

ProtoObject
Object
TObject
TFrame
TCrosshair

Summary:

methods:

instance class
render no messages

Detail:

instance methods:

render
render: ogl


	ogl glDisable: GLLighting.
	" This is used to render solid objects (if any). "
	ogl glLineWidth:2.0.
	ogl glColor3fv: #(1.0 0.7 0)asFloatArray;
		glBegin: GLLineStrip;
    
			glVertex3fv:#(0.0 0.05 -1.1)asFloatArray;
    
			glVertex3fv:#(0.0 -0.05 -1.1)asFloatArray;
    	
		glEnd;
    
		glBegin: GLLineStrip;
    
			glVertex3fv:#(0.05 0.0 -1.1)asFloatArray;
    
			glVertex3fv:#(-0.05 0.0 -1.1)asFloatArray;
    	
		glEnd.
	ogl glEnable: GLLighting.

class methods:

^top


- made by Dandelion -