|
Oolite
|
#include <OOCrosshairs.h>
Instance Methods | |
| (id) | - initWithPoints:scale:color:overallAlpha: |
| (void) | - render |
| (void) | - dealloc [implementation] |
| (void) | - setUpDataWithPoints:scale:color:overallAlpha: [implementation] |
| (void) | - setUpDataForOnePoint:scale:colorComps:overallAlpha:data: [implementation] |
Private Attributes | |
| NSUInteger | _count |
| GLfloat * | _data |
Definition at line 34 of file OOCrosshairs.h.
|
implementation |
| - (id) initWithPoints: | (NSArray*) | points | |
| scale: | (GLfloat) | scale | |
| color: | (OOColor*) | color | |
| overallAlpha: | (GLfloat) | alpha |
Definition at line 53 of file OOCrosshairs.m.
References nil, and setUpDataWithPoints:scale:color:overallAlpha:.
| - (void) render |
Definition at line 74 of file OOCrosshairs.m.
References _count, _data, make_vector(), OO_ENTER_OPENGL, OOCheckOpenGLErrors(), OOGL, OOGLPopModelView(), OOGLPushModelView(), OOGLTranslateModelView(), OOSetOpenGLState, OOVerifyOpenGLState, OPENGL_STATE_OVERLAY, render, and UNIVERSE.
Referenced by render.
|
implementation |
Provided by category OOCrosshairs(Private).
Definition at line 133 of file OOCrosshairs.m.
References count, and OOClamp_0_1_f().
Referenced by OOCrosshairs(Private)::setUpDataWithPoints:scale:color:overallAlpha:.
|
implementation |
Provided by category OOCrosshairs(Private).
Definition at line 105 of file OOCrosshairs.m.
References OOColor::getRed:green:blue:alpha:, and setUpDataForOnePoint:scale:colorComps:overallAlpha:data:.
Referenced by initWithPoints:scale:color:overallAlpha:.
|
private |
Definition at line 36 of file OOCrosshairs.h.
Referenced by render.
|
private |
Definition at line 37 of file OOCrosshairs.h.